reject_post
Reject a post's approval workflow. Only works on a post with approval_status 'pending' (post status in_approval) — check get_post first. IMPORTANT: only succeeds if the connected user is a listed approver for the workflow's CURRENT step (same requirement as approve_post). Unlike approval, a rejection stops the WHOLE workflow immediately, not just the current step — the post's status becomes rejected and it will not publish. Pass comment to explain why; it's shown to the requester and other approvers in the post's review thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post ID to reject (must have approval_status 'pending') | |
| comment | No | Optional reason for the rejection, shown to the requester and other approvers. |