Reject a request
reject_requestRecord this user's rejection of a request that is waiting on their decision. A decision of record — confirm with the user first. Fails if the user is not the current approver. Two-step: call with confirmed=false (the default) first for a preview with NOTHING recorded yet; call again with confirmed=true to record it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | The reason for rejecting, recorded with the decision. Strongly recommended — ask the user if they didn't say. | |
| confirmed | No | false (default) returns a preview of what would be rejected and does NOTHING. true rejects it. Preview, show the user, wait for their yes, then call again with true. | |
| ar_identifier | Yes | The approval request to reject — friendly number like 'AR-15' / '15' or the internal integer id. |