Get timezones
Returns a list of timezones supported by the system. These items can be used when updating the system timezone.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/timezones
Return codes
Code | Data | Description |
200 | timezones | List of timezones successfully retrieved. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example: Get the first 4 timezones known to the system
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/timezones?pageSize=4
Response example
HTTP/1.1 200 OK { "timezones": [ { "name": "Europe/Andorra", "offset": 3600 }, { "name": "Europe/Tirane", "offset": 3600 }, { "name": "Europe/Vienna", "offset": 3600 }, { "name": "Europe/Mariehamn", "offset": 7200 } ] }