Delete a backup destination

This function removes a backup destination from the backup configuration file.

SecurityBasicAuth
Request
query Parameters
id
required
string

The destination's ID.

Example: id=11111111
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/backup_destination_delete
Request samples
whmapi1 --output=jsonpretty \
  backup_destination_delete \
  id='11111111'
Response samples
application/json
{
  • "metadata": {
    • "command": "backup_destination_delete",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}