Create Region
Create a region
- application/json
Request Body
- name string required
Region name
- type string
Possible values: [
USER_CREATED
,AWS
,AZURE
,OCI
,GCP
]Default value:
USER_CREATED
Type of the region
locations object[] required
Possible values:
>= 1
List of locations which are part of the region
city stringName of city
state stringName of state
country string requiredName of country
latitude double requiredLatitude for the location
longitude double requiredLongitude for the location
Responses
- 200
- 400
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Bad Request
Region with same name already exists
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
Loading...