Skip to main content
API keys are deprecated. The SDK can manage them for CLI and direct backend integrations, but cannot use them as its own client credential. New integrations should use private keys instead.
Revoke a key. Subsequent requests that use the revoked key fail with AuthenticationError. Required scope: admin

Options

str
required
API key ID to revoke.
str | None
Organization override.

Response

bool
Whether the operation succeeded.