Search docs…⌘K
Dashboard →
API Keys
Revoke API key
DELETE/api-keys/:id
Immediately revoke an API key.
Note — Revocation performs a soft-delete by setting the revoked_at timestamp. The key will immediately be rejected by the gateway for any new incoming requests. In-flight requests are not explicitly halted.

Authentication

Requires a workspace-level access token in the Authorization header. Additionally, this endpoint requires the user to have an admin or owner role in the workspace.

Path Parameters

idrequired
integer
The unique ID of the API key you want to revoke.

Response

Returns a success message upon revocation.