Add Backup Resource Zone

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

POST /settings/backups/resource_zones.xml
POST /settings/backups/resource_zones.json

XML Request Example

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

JSON Request Example

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


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