Skip to main content

Set Region for an entity

Api to set region for an entity.

Path Parameters
  • entityType string required

    Possible values: [COMMCELL, CLIENT, INSTANCE, BACKUPSET, SUBCLIENT, CLIENT_GROUP, USER, USER_GROUP, LIBRARY, MEDIAAGENT, RESOURCEPOOL, STORAGE_POOL, STORAGE_POLICY, SCHEDULE_POLICY, SUBCLIENT_POLICY, ALERT, PLAN, VIRTUAL_MACHINE, ROLE, DEVICE, REGION, NETWORK_TOPOLOGY, COMPANY]

    Type of the entity

  • entityId int32 required

    Possible values: >= 1

    Unique id for the entity

Request Body
  • entityRegionType string

    Possible values: [BACKUP, WORKLOAD]

  • region object
  • id int32
  • name string
Responses

OK


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/entity/:entitytype/:entityid/region    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
entityType — path required
entityId — path required
Body
{
"entityRegionType": "BACKUP",
"region": {
"id": 0,
"name": "string"
}
}
curl -L -X PUT 'https://localhost/webconsole/api/V4/entity/:entityType/:entityId/region' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityRegionType": "BACKUP",
"region": {
"id": 0,
"name": "string"
}
}'