Reject an approval request
PUT/approvals/:identifier/reject
Rejects the request, resolving it to REJECTED. In the MVP a single
rejection is terminal. An approval request in a different entity is
reported as 404.
The caller cannot reject their own request while the
approvalBlockSelfReject kill switch is enabled (default on).
Requires the approvals.request.approve permission in the selected
entity (the same gate as approving).
Request
Responses
- 202
- 401
- 403
- 404
- 409
- 410
Request rejected
Missing/invalid JWT or entity selection
RBAC_PERMISSION_DENIED — caller lacks the route-level approvals.request.approve permission; APPROVAL_CANNOT_APPROVE_OWN_REQUEST — caller is the requester (self-rejection blocked while approvalBlockSelfReject is enabled); APPROVAL_INSUFFICIENT_PERMISSION — caller lacks the action's own permission for the request's target scope.
APPROVAL_REQUEST_NOT_FOUND — not found in this entity
APPROVAL_REQUEST_ALREADY_RESOLVED — request is no longer PENDING.
APPROVAL_REQUEST_EXPIRED — the request's TTL has passed; it can no longer be actioned.