Delete Backup
Permanently delete a backup.
Request
DELETE /api/v1/vps/{id}/backups/{backupId}
Required scope: vps:manage
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id |
string | The VPS ID |
backupId |
string | The backup ID to delete |
Headers
| Header | Required | Value |
|---|---|---|
Authorization |
Yes | Bearer YOUR_API_KEY |
Response
{
"data": {
"backupId": "backup_abc123",
"success": true
}
}
Errors
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_BACKUP_ID |
Backup ID is missing or invalid |
| 404 | NOT_FOUND |
VPS not found or not accessible |
| 502 | PROVIDER_ERROR |
Upstream provider error |
Example
curl -X DELETE "https://site.quest/api/v1/vps/699cdea2ab57a244bb5273fd/backups/backup_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
MCP
This action is also available via the delete_backup MCP tool.