removeTimezone
Requires at least one of the permissions settings:regional:delete or settings:tenant:update.
Removes one of the organization's timezones. Requires permission to delete regional settings or update 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
mutation RemoveTimezone($id: String!) {
removeTimezone(id: $id) {
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": "mutation RemoveTimezone($id: String!) {\n removeTimezone(id: $id) {\n id\n code\n name\n createdAt\n abbreviation\n deletedAt\n }\n}",
"variables": {
"id": "string"
}
}
EOF
Variables:
{
"id": "string"
}
Response:
{
"data": {
"removeTimezone": {
"id": "id",
"code": "string",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"abbreviation": "string",
"deletedAt": "2025-01-15T00:00:00Z"
}
}
}
removeTimezone(
id: String!
): Timezone!
Arguments
removeTimezone.id ● String! non-null scalar
The ID of the timezone.
Type
Timezone object
A time zone the organization can use.