Get to know backup_delete
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
$params = array( 'vm_id' => 1, 'backup_id' => 1 ); $api->call('cloud.backup_delete', $params);
Array ( [status] => 1 )