Deny a pending Z.ai key request (operator)
ic_admin_deny_key_requestDeny a pending Z.ai key request. Marks it denied + removes it from the queue; no key is minted. Two-step: omit confirm (or pass false) for a dry-run preview, confirm: true to apply. Refuses to deny an already-approved request (revoke the minted key at /floor10/agent-console instead). Rate-limited to 20 approve+deny mutations per token per UTC day; dry-run does NOT count. Args: { request_id, reason?, confirm? }. Returns dry-run shape on confirm=false; { ok, request_id, was_pending } on confirm=true. Required scope: admin:llm_keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional note recorded in the audit trail. | |
| confirm | No | Set to true to actually deny. When false / omitted, returns a dry-run preview that does NOT mutate and does NOT count against the daily rate limit. | |
| request_id | Yes | The id of the pending request to deny. |