Revoke an API key

:::callout amber Not available yet. The management API is documented ahead of its implementation — the request and response shapes below are a stable contract we're committing to, but calling these endpoints today returns 404. Manage keys in the dashboard in the meantime. The live gateway endpoints today are POST /v1/chat/completions, POST /v1/embeddings and GET /v1/models. :::

Revoke an API key. Subsequent requests presenting the revoked key fail with 401 unauthorized within seconds.

DELETE /v1/api-keys/{id} Coming soon
https://api.routeur.ai

Path parameters

id string required
API key id (the id field, not the prefix or the secret itself).

Returns

Status 204 with an empty body. Revocation is permanent.