Skip to main content
Revoke the current user’s API key. Because each user holds exactly one key, the :id path segment is ignored and the user’s sole key is revoked. The old key stops working immediately.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...> (auth only).

Response

boolean
Always true (revoked).

Example