Check for an active cancellation request on an account

Check if a specific customer account has an ongoing cancellation request. This prevents duplicate cancellations and provides accurate service status feedback. The endpoint returns a unique 'requestId' for tracking.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/cancellations/{accountId}
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/cancellations/10415" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "hasCancellation": true,
    "cancellation": "string"
  }
}