Return the current cancellation state for one shared-hosting account. Get {accountId} from GET /api/v2/shared-hosting data[].id. This endpoint returns 200 with status: "none" when no cancellation exists instead of returning 404. If revokable is true, call DELETE /api/v2/shared-hosting/{accountId}/cancellation to remove the pending or scheduled cancellation.
read:hosting
Use Authorization: Bearer <token> for API keys. Dashboard sessions may also use hostup_session.
accountId string required
Example: acct_01hxa3b4c5d6e7f8g9h0j1k2m3 Public shared-hosting account ID from `GET /api/v2/shared-hosting` `data[].id`. Do not invent this value; use the exact ID returned by the referenced API response.
Accept Example Content-Type Example accountId string
· Example: acct_01hxa3b4c5d6e7f8g9h0j1k2m3 Public shared-hosting account ID from `GET /api/v2/shared-hosting` `data[].id`.
status string · enum
· Example: scheduled `none` means no cancellation record exists; the status endpoint still returns 200 with the stable cancellation shape.
pending scheduled completed revoked none cancelledAt stringnull
· Example: 2026-04-27T12:00:00.000Z When the cancellation request was recorded, if known.
scheduledAt stringnull
· Example: 2026-05-27T00:00:00.000Z Effective cancellation date if known. For immediate cancellation this may match `cancelledAt`.
reason stringnull
· Example: Too expensive Stored cancellation reason, or null when no cancellation exists.
cancelType stringnull · enum
· Example: end_of_period Requested cancellation timing, or null when no cancellation exists or the stored record did not expose timing.
immediate end_of_period revokable boolean
· Example: true True while the cancellation is pending or scheduled and can be removed with DELETE `/api/v2/shared-hosting/{accountId}/cancellation`.
cancelledPendingOrder boolean
· Example: true Present only when the service was still a pending order and the API cancelled the pending order instead of creating a service cancellation.
cancelledOrderId string
· Example: ord_01hxa3b4c5d6e7f8g9h0j1k2m3 Public order ID when `cancelledPendingOrder` is true.
cancellationLookupPending boolean
· Example: true Present only when the cancellation request was accepted but the stored cancellation record was not readable yet. Poll GET `/api/v2/shared-hosting/{accountId}/cancellation` shortly after receiving this state.
submissionAccepted boolean
· Example: true Present with `cancellationLookupPending` to confirm the cancellation request was accepted.
notice object notice.code string · enum required
· Example: cancellation_record_pending pending_order_cancelled cancellation_record_pending notice.detail string required
· Example: Cancellation request accepted, but the stored cancellation record is not available yet.... 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 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/shared-hosting/{accountId}/cancellation curl -X GET "https://cloud.hostup.se/api/v2/shared-hosting/acct_01hxa3b4c5d6e7f8g9h0j1k2m3/cancellation" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"accountId": "acct_01hxa3b4c5d6e7f8g9h0j1k2m3",
"status": "none",
"cancelledAt": null,
"scheduledAt": null,
"reason": null,
"cancelType": null,
"revokable": false
}