Child pages
  • Delete Backup
Skip to end of metadata
Go to start of metadata

To delete a disk backup:

DELETE /backups/:id.xml
DELETE /backups/: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/backups/: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/backups/:id.json* 

An HTTP 204 response is returned on success, an HTTP 404 error is returned if  a requested backup does not exist.

  • No labels