Revoke API key
delete
https://api.intelig.ai/api/v1/intelig/api-keys/{id}
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: revokeApiKey
Revokes an API key, immediately disabling it
Example request
curl -X DELETE "https://api.intelig.ai/api/v1/intelig/api-keys/1" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | yes | — |
Response 200
application/json · ApiResponseApiKeyResponseDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ApiKeyResponseDto | — |
Status codes
200— API key revoked successfully400— API key is already revoked401— User is not authenticated403— User does not have access to Settings pillar404— API key not found429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.