Reference data API - GET geographical regions
Lists all geographical regions that your account uses.
The request produces an application/json
payload.
GET |
|
Authentication
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.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | RegionDto[] | Success. The response contains the list of regions. |
Response body objects
The ResponseBody
object
The RegionDto
object
Element | Type | Description |
---|---|---|
name | string | The name of the region. |
Response body JSON model
1[2 {3 "name": "string"4 }5]
Example
In this example, the request lists all regions of the account with the UUID of 9ad20784-76c6-4167-bfba-9b0d8d72a71d. The result is truncated to two entries.
Curl
1curl --request GET \2 --url https://api.dynatrace.com/ref/v1/regions \3 --header 'Authorization: Bearer abcdefjhij1234567890'
Request URL
1https://api.dynatrace.com/ref/v1/regions
Response body
1[2 {3 "name": "US East Virginia"4 },5 {6 "name": "US West Oregon"7 }8]
Response code
200