Skip to main content
POST
Revoke many Xquik API keys at once in 1 request
Clean up old or leaked keys in 1 request. Xquik revokes each listed key that belongs to your account and answers with the IDs it revoked. It skips IDs of unknown keys and of other accounts’ keys, so a retry is safe.
Free. This endpoint does not consume credits.

Headers

Your signed-in dashboard session cookie, __Host-xquik_session. API keys and OAuth tokens get 403 session_required.
string
required
Must be https://dashboard.xquik.com, sent with Sec-Fetch-Site set to same-origin. The dashboard sends both.
string
required
Must be application/json.

Body

string[]
required
IDs of the keys to revoke, from 1 to 100. Get them from List API keys.

Response

200 OK

string[]
IDs of your keys that are now revoked, newest first. A key you had already revoked still appears. Unknown IDs and other accounts’ keys never do. A repeated ID appears once.

400 Invalid input

ids was missing, empty, longer than 100, or held a value that is not a numeric ID. Xquik revokes nothing.

401 Unauthenticated

Missing, expired, or invalid dashboard session cookie.

429 Rate limited

Too many requests. Wait for the Retry-After header before retrying.
Revocation is immediate and permanent. Every request with a revoked key returns 401 Unauthenticated. Create a new key if you need one.
API key revocation requires a same-origin dashboard session. API keys and OAuth bearer tokens cannot revoke account keys.Related. Revoke API Key · List API Keys · Create API Key