Get Available Time Zones


This request returns the time zones that can be chosen when the time zone of the server is changed. The time zones can be filtered on one of the available regions.

Resource

GET /server/timezone/available_zones[?region=<region>]

Parameters

Name Type Description

region

String

Optional. Only return the time zones of this region, for example Europe. When omitted, all time zones are returned.

Payload

None

Response

Object Response <String>

Context

Authorization

Administrator

Errors

Example

Request
GET https://xelion.nl/api/v1/master/server/timezone/available_zones?region=Europe
Response
{
    "object": [
        "Amsterdam",
        "Andorra",
        "Astrakhan",
        "Athens",
        "Belfast",
        "Belgrade",
        "Berlin",
        "Bratislava",
        "Brussels",
        "Bucharest",
        "Budapest",
        "Busingen",
        "Chisinau",
        "Copenhagen",
        "Dublin",
        "Gibraltar",
        "Guernsey",
        "Helsinki",
        "Isle_of_Man",
        "Istanbul",
        "Jersey",
        "Kaliningrad",
        "Kiev",
        "Kirov",
        "Kyiv",
        "Lisbon",
        "Ljubljana",
        "London",
        "Luxembourg",
        "Madrid",
        "Malta",
        "Mariehamn",
        "Minsk",
        "Monaco",
        "Moscow",
        "Nicosia",
        "Oslo",
        "Paris",
        "Podgorica",
        "Prague",
        "Riga",
        "Rome",
        "Samara",
        "San_Marino",
        "Sarajevo",
        "Saratov",
        "Simferopol",
        "Skopje",
        "Sofia",
        "Stockholm",
        "Tallinn",
        "Tirane",
        "Tiraspol",
        "Ulyanovsk",
        "Uzhgorod",
        "Vaduz",
        "Vatican",
        "Vienna",
        "Vilnius",
        "Volgograd",
        "Warsaw",
        "Zagreb",
        "Zaporozhye",
        "Zurich"
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://xelion.nl/api/v1/master/server/timezone/available_zones",
            "method": "GET"
        }
    ]
}