API Docs

Get to know backup_delete

Overview: backup_delete removes a backup of an indicated VM.

backup_delete expects the following parameters:

  • vm_id – The identifier of the VM you want to delete the backup from.
  • backup_id – The unique ID of the backup you want to delete

Example:

$params = array(
          'vm_id'       => 1,
          'backup_id'   => 1
        );
$api->call('cloud.backup_delete', $params);

Output:

Array
(
    [status] => 1
)