Skip to main content
Revoke an API key. Revocation is irreversible. Required scope: admin
await mesa.apiKeys.revoke({ id: 'key_123' });

Options

id
string
required
API key ID.
org
string | undefined
Organization override.

Response

success
true
Whether the operation succeeded.