Skip to main content
DELETE https://xquik.com/api/v1/api-keys/{id}
Free. This endpoint does not consume credits.

Path parameters

Headers

Response

200 OK

400 Invalid ID

{ "error": "invalid_id" } The path parameter is not a valid ID. IDs are numeric strings.

401 Unauthenticated

Missing, expired, or invalid dashboard session cookie.

404 Not found

No API key with this ID exists on your account. Revoking a key you already revoked returns 200 again.

429 Rate limited

Too many requests. Wait for the Retry-After header before retrying.
Revocation is immediate and permanent. Every request with the revoked key returns 401 Unauthenticated. You cannot undo it. Create a new key if you need one. To stop a key for a while, pause it instead. The revoke dialog on the API keys page offers Pause instead.
API key revocation requires a same-origin dashboard session. API keys and OAuth bearer tokens cannot revoke account keys.Related. Create API Key · List API Keys · Revoke API Keys

Response examples

  • 400 { "error": "invalid_input", "message": "Invalid input. Check the request body." }
  • 401 { "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." }
  • 403 { "error": "session_required", "message": "API keys & OAuth tokens cannot use this route. Sign in at dashboard.xquik.com/account instead." }
  • 404 { "error": "not_found", "message": "Resource not found." }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }