Child pages
  • Edit Backup Server Zone
Skip to end of metadata
Go to start of metadata
PUT /settings/backup_server_zones/:id.xml
PUT /settings/backup_server_zones/:id.json

XML Request example

curl -i -X PUT -u user:userpass http://onapp.test/settings/backup_server_zones/:id.xml -d '<backup_server_group><label>az_val_change</label><location_group_id>1</location_group_id></backup_server_group>' -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request example

curl -i -X PUT -u user:userpass http://onapp.test/settings/backup_server_zones/:id.json -d '{"backup_server_group":{"label":"az_val_change","location_group_id":"1"}}' -H 'Accept: application/json' -H 'Content-type: application/json' 


label *– specify a new label of the backup server zone 

location_group_id - ID of a location group you wish to assign the backup server zone to. You can change the already assigned location only if there are no backups or templates stores on backup servers of current zone.

Returns HTTP 204 response on successful processing, and HTTP 404 when there is no backup server zone with a requested ID, or URL is incorrect.

Page history

v. 3.1:

  • Added the location_group_id parameter
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels