# Revoke an API key

> DELETE /api-keys/{api_key_id}

Source: https://docs.trykintsugi.com/reference/2026-12-03/revoke-an-api-key

API version: Tenanted API release 2026-12-03, latest, default in the docs

DELETE /api-keys/{api_key_id}

Revoke an API key

Revoke an API key. Requires a user credential (an Owner or Admin) or a PORTFOLIO-scope Api-Key. Select an organization with an `Organization-Id` to revoke one of its keys; omit it to revoke a portfolio key if you are a portfolio Owner or Admin bearer. A PORTFOLIO Api-Key caller must always send `Organization-Id` naming a client in its own portfolio and can revoke only that client's keys; it can never revoke the portfolio's own portfolio-wide key. A service key (`kind` `SERVICE`) created through this API may also revoke itself: send its own token as the Api-Key and its own id in the path. The selector headers are ignored for that request. A service key that names any other id gets 401, the same as any other Api-Key that is not a PORTFOLIO key. Every other caller gets 404 if the key is not one you can revoke; the response is empty on success.

Category: API Keys

Path parameters:
api_key_id (string, required) - Opaque identifier of the API key to revoke. Treat as opaque.

Response statuses: 204, 400, 401, 403, 404, 409, 422, 503

---

Index of every page: https://docs.trykintsugi.com/llms.txt
