/api/v2/cancellations Return a bounded snapshot of current service cancellations for VPS and shared-hosting services.
Every item in the list is an open cancellation request: cancellation.status is always pending or scheduled, and completed or revoked cancellations never appear here.
Use the per-resource status endpoints to observe those terminal states.
This endpoint has no cursor or pagination fields.
Use each item's type to choose the matching per-resource status or revoke endpoint: GET /api/v2/vps/{id}/cancellation, DELETE /api/v2/vps/{id}/cancellation, GET /api/v2/shared-hosting/{accountId}/cancellation, or DELETE /api/v2/shared-hosting/{accountId}/cancellation.
read:services
Authenticate with an API key in the Authorization: Bearer <token> header.
Authorization Bearer <token> Accept application/json cancellations array<object> Bounded snapshot of current service cancellations. There are no cursor fields on this endpoint.
cancellations[].type string · enum required
· Example: vps vps shared_hosting cancellations[].vpsId string
· Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3 Present when type is vps.
cancellations[].accountId string
· Example: acct_01hxa3b4c5d6e7f8g9h0j1k2m3 Present when type is shared_hosting.
cancellations[].cancellation any required 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/cancellations curl -X GET "https://cloud.hostup.se/api/v2/cancellations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"cancellations": [
{
"type": "shared_hosting",
"accountId": "acct_01hxa3b4c5d6e7f8g9h0j1k2m3",
"cancellation": {
"accountId": "acct_01hxa3b4c5d6e7f8g9h0j1k2m3",
"status": "pending",
"cancelledAt": "2026-04-27T12:34:56.000Z",
"scheduledAt": "2026-04-27T12:34:56.000Z",
"reason": "Requested by customer",
"cancelType": "end_of_period",
"revokable": true
}
}
]
}