Skip to main content
curl -X DELETE https://xquik.com/api/v1/api-keys/42 \
  -H "Cookie: session=YOUR_SESSION_TOKEN" | jq

Path Parameters

id
string
required
The unique identifier of the API key to revoke.

Headers

Session cookie from the dashboard. Format: session=YOUR_SESSION_TOKEN.

Response

success
boolean
Always true when the key is successfully revoked.
{ "success": true }
Revocation is immediate and permanent. All requests using the revoked key will return 401 Unauthenticated. This action cannot be undone — create a new key if needed.
This endpoint requires session cookie authentication (dashboard sign-in). API keys cannot revoke themselves.Related: Create API Key · List API Keys