Delete Backup Server

To delete a backup server, use the following request:

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

XML Request Example

curl -i -X DELETE -u account_email:API_key http://onapp.test/settings/backup_servers/2.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X DELETE -u account_email:API_key http://onapp.test/settings/backup_servers/2.json -H 'Accept: application/json' -H 'Content-type: application/json'

You will get a 204 status response on success, and 404 if there is no such a backup server with a requested ID or you entered an incorrect URL.