Skip to main content

Update Region

Select

SaaS
Customer Managed

Update details of the region

Path Parameters
  • regionId int64 required
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[]
  • continent string

    Name of continent for the location

  • country string required

    Name of country for the location

  • state string

    Name of state for the location

  • city string

    Name of city for the location

  • latitude double required

    Latitude for the location

  • longitude double required

    Longitude for the location

  • zone object
  • id int32
  • name string
Responses

OK


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/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
{
"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"
}
}
]
}'