Skip to main content

Update a Region (Deprecated)

This operation updates a region

Path Parameters
  • regionId string required
Request Body
  • regionEntity object
  • regionName string
  • zones object
  • zone object[]
  • continent string
  • country string
  • state string
  • city string
  • latitude integer
  • longitude integer
  • zoneEntity object
  • zoneName string
Responses

OK


Schema
  • regions object[]
  • regionEntity object
  • regionId integer
  • regionName string
  • error object
  • errorMessage string
  • errorCode integer
PUT /regions/:regionid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
regionId — path required
Body

{
"regionEntity": {
"regionName": "string"
},
"zones": {
"zone": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zoneEntity": {
"zoneName": "string"
}
}
]
}
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionEntity": {
"regionName": "string"
},
"zones": {
"zone": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zoneEntity": {
"zoneName": "string"
}
}
]
}
}'