Revoke an API key

Permanently remove an API key that is no longer needed or has been compromised. Once revoked, the key can no longer be used to authenticate against our services. The endpoint returns an ID to track the operation.

Query Parameters

key_id string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
DELETE https://cloud.hostup.se/api/keys
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/keys?key_id=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string"
  }
}