activeTimezones
Requires at least one of the permissions settings:regional:read or settings:tenant:read.
Lists the timezones switched on for the organization. Requires permission to read regional or tenant settings.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query ActiveTimezones {
activeTimezones {
id
code
name
createdAt
abbreviation
deletedAt
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query ActiveTimezones {\n activeTimezones {\n id\n code\n name\n createdAt\n abbreviation\n deletedAt\n }\n}"
}
EOF
Response:
{
"data": {
"activeTimezones": [
{
"id": "id",
"code": "string",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"abbreviation": "string",
"deletedAt": "2025-01-15T00:00:00Z"
}
]
}
}
activeTimezones: [Timezone!]!
Type
Timezone object
A time zone the organization can use.