Lists all time zones that your account uses.
The request produces an application/json
payload.
GET |
|
To execute this request, you need the Allow read access for environment resources (account-env-read
) scope assigned to your token. To learn how to obtain and use it, see Authentication.
The request doesn't provide any configurable parameters.
ResponseBody
objectTimeZoneDto
objectThe UTC-based name of the time zone.
The standard name of the time zone.
[{"displayName": "string","name": "string"}]
In this example, the request lists all time zones of the account with the UUID of 9ad20784-76c6-4167-bfba-9b0d8d72a71d. The result is truncated to three entries.
curl --request GET \--url https://api.dynatrace.com/ref/v1/time-zones \--header 'Authorization: Bearer abcdefjhij1234567890'
https://api.dynatrace.com/ref/v1/time-zones
[{"displayName": "UTC+00:00 Universal Time Coordinated","name": "UTC"},{"displayName": "UTC-07:00 Arizona","name": "America/Arizona"},{"displayName": "UTC+01:00 Central European Time","name": "Europe/Berlin"}]
200