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.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string retryAfter string requestId string https://cloud.hostup.se/api/cancellations/{accountId} curl -X GET "https://cloud.hostup.se/api/cancellations/10415" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"hasCancellation": true,
"cancellation": "string"
}
}