Revoke an API key
oneguard_keys_revokeImmediately disables a specified API key, cutting off all clients using it. Requires exact key confirmation and cannot be reversed from the CLI.
Instructions
Disables an API key immediately, cutting off every client using it. This is not reversible from the CLI. Only call this after the user explicitly asked for this specific key, and confirm the exact key name first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key id, 8-character prefix, or exact name. | |
| confirm | Yes | Must be exactly the key name, as a guard against revoking the wrong key. Get it from oneguard_keys_list. |