Update Region
Select
SaaS
Customer Managed
Update details of the region
Path Parameters
- regionId int64 required
- application/json
Request Body
Properties to be updated for the region
- newName string
New name for the region
- locationsOperationType string
Possible values: [
NONE
,OVERWRITE
,ADD
,DELETE
,CLEAR
]Default value:
ADD
Type of operation to be performed for locations
locations object[]
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
PUT /v4/regions/:regionid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Regions/:regionId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"locationsOperationType": "ADD",
"locations": [
{
"continent": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 0,
"longitude": 0,
"zone": {
"id": 0,
"name": "string"
}
}
]
}'