Approve or deny an access request
PUT/api/v1/ApprovalWorkflow/Approval
Records an approver's decision and notes on every approval that approver holds for an activity session. The approval process then advances: a completed tier moves the workflow on, and if the combined result of the workflow becomes Denied, the approval process for the session is cancelled.
Permission required: Administrator or application role.
Values for approvalState: 0 = Pending, 1 = Approved, 2 = Denied.
Caution: The decision takes effect immediately; if it makes the combined result Denied, the approval process for the session is cancelled.
Request
Responses
- 200
- 400
The decision was recorded. The call also returns 200 and changes nothing when the approver has no approvals for that session.
The decision could not be recorded; the body holds the reason.