Approve / Reject Policy Control Execution
PUT /policies/policy-control-executions/{policyControlExecutionId}
Update the status of a policy control execution to approve or reject. Like a multi-sig wallet, if multiple approvers are required based on numApprovals
in the corresponding PolicyControl
, the execution status will not update until all required approvals are received.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Required Permissions
Name | Conditions |
---|---|
| Always Required |
Request body
Request body fields | Required/Optional | Description | Type |
---|---|---|---|
| Required | A name for the rule | String |
| Required | "Passed" OR "Failed" | Enumerated Type (String) |
Request Example
Response
Response example
If successful, the response contains a status indicating whether the policy control execution has Passed, Failed, or is still Awaiting approval. documentedActivity
contains an escaped JSON object of the transaction data which initiated the policy execution.
Last updated