Skip to content
Seismic Orchestration

api.apiKeys.revoke

Revoke an API key. Effective immediately: in-flight requests using the key get 401 ApiKeyRevoked on the next hit.

await ..();
ArgumentType
idstring

Returns: Promise<void>.

Throws: ApiError 404 ApiKeyNotFound, 403 ApiKeyRevokeForbidden (caller is neither owner/admin nor the key's creator), 409 AlreadyRevoked.

REST endpoint: DELETE /auth/api-keys/{id}.