revoke_agent_api_key
Revoke an API key
Revokes one lasoak_ API key, the same action as Revoke on the dashboard. A revoked key can no longer be exchanged for a session at agentAuth, and its MCP event subscriptions stop. A session already minted from the key is not cut off: its id_token lasts out its hour. Revoking a key that is already revoked succeeds and changes nothing.
To revoke a key you hold the raw value of, you can instead POST it as token to /oauth/revoke (RFC 7009) without looking up its keyId.
Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | The key's id, as returned by `createAgentApiKey` or `listAgentApiKeys`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||