Remove Backup Resource from Virtual Server

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

DELETE /virtual_machines/:virtual_machine_id/backups/resources/:resource_id.xml
DELETE /virtual_machines/:virtual_machine_id/backups/resources/:resource_id.json

XML Request Example

curl -i -X DELETE -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/virtual_machines/:virtual_machine_id/backups/resources/:resource_id.xml

JSON Request Example

curl -i -X DELETE -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/virtual_machines/:virtual_machine_id/backups/resources/:resource_id.json


Page History 

v. 5.9

Updated the API requests: 

  • From DELETE /virtual_servers/:virtual_server_id/backups/resources/:resource_id.xml to DELETE /virtual_machines/:virtual_machine_id/backups/resources/:resource_id.xml

  • From DELETE /virtual_servers/:virtual_server_id/backups/resources/:resource_id.json to DELETE /virtual_machines/:virtual_machine_id/backups/resources/:resource_id.json