Child pages
  • Delete Backup Server Zone

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

To delete a backup server zone, use the following API call:

DELETE /settings/backup_server_zones/:id.xml
DELETE /settings/backup_server_zones/:id.json

XML Request example

Code Block
curl -i -X DELETE -u user:userpass http://onapp.test/settings/backup_server_zones/:id.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

Code Block
curl -i -X DELETE -u user:userpass http://onapp.test/settings/backup_server_zones/:id.json -H 'Accept: application/json' -H 'Content-type: application/json'

 

Returns HTTP 204 response on successful processing, and HTTP 404 when there is no backup server zone with a requested ID, or URL is incorrect.