Get Regions
Get list of regions
Query Parameters
- type RegionType
Possible values: [
DEFAULT
,AZURE
,AWS
,USER_CREATED
,OCI
,GCP
]Region type to be filtered
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
regions object[]
{
"regions": [
{
"id": 0,
"name": "string",
"displayName": "string",
"regionType": "DEFAULT",
"locations": [
{
"city": "string",
"state": "string",
"country": "string"
}
],
"associatedServers": 0,
"associatedRegionBasedPlans": 0
}
]
}
GET /v4/regions
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Regions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'