API keys
Revoke many Xquik API keys at once in 1 request
Revoke up to 100 Xquik API keys in 1 request & get back the IDs it revoked. Unknown IDs are skipped, so a retry is safe. Revocation is immediate & free.
- 200
- 400
- 401
- 403
- 429
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.
Missing, expired, or invalid dashboard session cookie.
Too many requests. Wait for the
Free. This endpoint does not consume credits.
Headers
string
required
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
429 Rate limited
Retry-After header before retrying.
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