Approve an action run
PATCH/v1/actions/runs/:run_id/approval
This route allows you to approve or decline a request to execute an action that requires approval.
To learn more about manual approval for actions, check out the documentation.
Requestโ
Responsesโ
- 201
- 403
- 404
- 422
- 500
Approved/declined successfully.
One of the following errors occurred:
Error | Description |
---|---|
missing_permissions | You are not permitted to approve this action. For further details, please contact your admin |
One of the following errors occurred:
Error | Description |
---|---|
not_found | The action run with the provided identifier was not found |
One of the following errors occurred:
Error | Description |
---|---|
invalid_request | The data provided does not match the route schema |
run_not_waiting_for_approval | Action run is not waiting for approval |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |