Delete a VPS backup schedule
DELETE /api/v2/vps/{id}/backup-schedules/{scheduleId}
Deletes the backup schedule of a VPS. No scheduled backups are made after this. Backups already taken are kept. Delete them one by one with DELETE /api/v2/vps/{id}/backups/{backupId}.
Authentication: An API key with the scopes write:vm and vm:write. About keys and scopes
Request
Path parameters
idstringrequiredThe VPS ID (
vps_…).scheduleIdstringrequiredThe backup schedule ID (
bks_…) from schedules[].id on GET /api/v2/vps/{id}/backup-schedules.Example
curl -X DELETE "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/backup-schedules/bks_01hxa3b4c5d6e7f8g9h0j1k2m3" \ -H "Authorization: Bearer $HOSTUP_API_KEY"Responses
204 The schedule is deleted. No response body.
Errors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | Forbidden. The caller lacks a required scope or does not own the resource. |
| 404 | The VPS has no schedule with this ID (backup_schedule_not_found). |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |