Deny a pending membership-tier request (operator)
ic_admin_deny_tier_requestDeny a pending tier request. Clears the pending fields + KV snapshot; the user's tier is unchanged. Two-step: omit confirm (or pass false) for a dry-run preview. Pass confirm: true to actually apply. The optional reason is recorded in the audit log and is surfaced to the requester on their /membership page so they understand why. Rate-limited to 20 approve+deny mutations per token per UTC day; dry-run calls do NOT count. Args: { user_id, reason?, confirm? }. Returns: dry-run shape on confirm=false; { ok, user_id, tier, was_pending } on confirm=true. Required scope: admin:tier_review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional note. Recorded in the audit trail and shown to the requester on their /membership page. | |
| confirm | No | Set to true to actually mutate. When false / omitted, returns a dry-run preview that does NOT change state and does NOT count against the daily rate limit. | |
| user_id | Yes | Clerk user_id of the pending requester. |