Docs
Sign in

Revoke an API key.

Session only.

POST/api/v1/api-keys/{id}/revoke

Keysession only

Takes effect at once and cannot be undone. To call it outside the dashboard, send the dashboard's koidog_session cookie and Origin: https://app.koi.dog. No query parameters, and no body.

Path parameters.

idstringrequired

The API key's id.

Headers.

Idempotency-Keystring

Makes a retry safe: the same key with the same request returns the first answer and does nothing else.

Response.

200 OK: a ApiKey. The example has placeholder values.