Remove Backup Resource from Backup Resource Zone

To remove a backup resource from a backup resource zone, use the following request: 

POST /settings/backups/resource_zones/:resource_zone_id/resources/:attached_resource_id/detach.xml
POST /settings/backups/resource_zones/:resource_zone_id/resources/:attached_resource_id/detach.json

XML Request Example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/settings/backups/resource_zones/12/resources/3/detach.xml

JSON Request Example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/settings/backups/resource_zones/12/resources/3/detach.json