Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

Revoke a key. Subsequent requests that use the revoked key fail with AuthenticationError.
result = await mesa.api_keys.revoke(key_id="key_123")
print(result.success)

Options

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

Response

success
bool
Always True when revocation succeeds.

Required scope

admin