Edit Backup Resource Zone

To edit a backup resource zone, use the following request:

PUT /settings/backups/resource_zones/:resource_zone_id.xml
PUT /settings/backups/resource_zones/:resource_zone_id.json

XML Request Example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u account_email:API_key --url http://onapp.test/settings/backups/resource_zones/1.xml -d '<resource_zone><label>resource_zone_label</label><location_group_id>3</location_group_id></resource_zone>'

JSON Request Example

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u account_email:API_key --url http://onapp.test/settings/backups/resource_zones/1.json -d '{"resource_zone":{"label":"resource_zone_label","location_group_id": 3}}'


Where: 

resource_zone - the array of parameters for the backup resource zone

label* - the label of the backup resource zone

location_group_id - the ID of the location group where the backup resource zone will reside