List Timezones

List Timezones

This method allows you to list all time zones recognized by the API. It also provides the offset (in seconds) from UTC for each timezone. The names of the supported timezones are important, for example, when you want to configure refresh policies or other configurations that require specifying a timezone.

Note that all timestamps returned by the API are always in UTC and do not require a timezone.

Request
URI
GET
https://{api_host}/api/v1/control/timezones
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

A list of supported IANA standard time zones, as described in https://www.iana.org/time-zones .

Returns TimezoneOffsetListResponse of type(s) application/json
{
    "object": "string",
    "data": [
        {
            "name": "string",
            "utc_offset": 0
        }
    ]
}
string
object
Optional
Constraints: default: list

Object type, which is always list.

array of object
data
Required

List of timezone offsets.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/control/timezones