/api/v2/vps/{id}/backups Return VPS backups, quota state, and action gates.
Get {id} from GET /api/v2/vps data[].id.
Use backups[].id as {backupId} for restore or delete.
Backups are offsite, longer-term recovery images and can take longer to create or restore than snapshots.
Snapshots are short-lived local block-on-write rollback points for quick changes; use backups when the user needs durable/offsite recovery.
actions.canCreateBackup and actions.canRestore already include service status, quota, permission, and in-flight job checks.
read:vm
Authenticate with an API key in the Authorization: Bearer <token> header.
id string required
Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3 Public VPS ID from GET /api/v2/vps data[].id. Do not invent this value; use the exact ID returned by the referenced API response.
Authorization Bearer <token> Accept application/json backups array<object> required backups[].id string required
· Example: bkp_01hxa3b4c5d6e7f8g9h0j1k2m3 backups[].displayId string required
· Example: 2026-04-27T10:00:00.000Z (vzdump-qemu-101.vma.zst) backups[].storageKey string required
· Example: vzdump-qemu-101.vma.zst backups[].createdAt string · nullable required
· Example: 2026-04-27T10:00:00.000Z Nullable: may be null when not applicable.
backups[].sizeGb integer required
· Example: 12 backups[].backupType string required
· Example: manual backups[].note string · nullable required
· Example: Before upgrade Nullable: may be null when not applicable.
quotaInfo object required quotaInfo.used integer required
· Example: 1 quotaInfo.limit integer · nullable required
· Example: 3 Nullable: may be null when not applicable.
quotaInfo.remaining integer · nullable required
· Example: 2 Nullable: may be null when not applicable.
actions object required actions.canCreateBackup object required actions.canCreateBackup.allowed boolean required
· Example: true actions.canCreateBackup.reason string · nullable required
· Example: null Nullable: may be null when not applicable.
actions.canCreateBackup.code string · nullable
· Example: pending_order Machine-readable reason code when an action is blocked.
actions.canRestore object required actions.canRestore.allowed boolean required
· Example: true actions.canRestore.reason string · nullable required
· Example: null Nullable: may be null when not applicable.
actions.canRestore.code string · nullable
· Example: pending_order Machine-readable reason code when an action is blocked.
type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object Retry-After seconds plus X-RateLimit-* headers. 10 fields type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/vps/{id}/backups curl -X GET "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/backups" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"backups": [
{
"id": "bkp_01hxa3b4c5d6e7f8g9h0j1k2m3",
"displayId": "2026-04-27T10:00:00.000Z (vzdump-qemu-101.vma.zst)",
"storageKey": "vzdump-qemu-101.vma.zst",
"createdAt": "2026-04-27T10:00:00.000Z",
"sizeGb": 12,
"backupType": "manual",
"note": "Before upgrade"
}
],
"quotaInfo": {
"used": 1,
"limit": 3,
"remaining": 2
},
"actions": {
"canCreateBackup": {
"allowed": true,
"reason": null
},
"canRestore": {
"allowed": true,
"reason": null
}
}
}