Create Region
Select
SaaS
Customer Managed
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
globalConfigInfo object
Responses
- 200
- 400
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- GUID string
- name string
{
"id": 0,
"GUID": "string",
"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
POST /v4/regions
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Regions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"type": "USER_CREATED",
"locations": [
{
"city": "string",
"state": "string",
"country": "string",
"latitude": 0,
"longitude": 0
}
],
"globalConfigInfo": {
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"actionOnLocalEntity": "CREATE_NEW"
}
}'