Skip to main content
DELETE
/
api-keys
/
{id}
Revoke API key
curl --request DELETE \
  --url https://xquik.com/api/v1/api-keys/{id}

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Free - does not consume credits
curl -X DELETE https://xquik.com/api/v1/api-keys/42 \
  -H "Cookie: session_token=YOUR_SESSION_TOKEN" | jq

Path parameters

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

Headers

Dashboard session cookie. Format: session_token=YOUR_SESSION_TOKEN.
x-api-key
string
API key for the same account. Use this instead of Cookie for automated key rotation.
Authorization
string
OAuth bearer token for the same account. Format: Bearer YOUR_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.
Use a dashboard session cookie, API key, or OAuth bearer token for the same account. If you revoke the API key used for this request, later requests with that key return 401 Unauthenticated.Related: Create API Key · List API Keys
Last modified on May 7, 2026