Action
Update an action
Updates the on_policy_success, on_policy_fail, time_to_reply, and allowed_time_to_execute fields of an existing approval action.
patch/approval/action/{id}
Path parameters
idinteger required
The ID of the approval action.
Request body
Example request
{
"on_policy_success": "approve",
"on_policy_fail": "deny",
"time_to_reply": 259200000,
"allowed_time_to_execute": 86400000
}Response
The operation was successful.
Example response
{
"id": 1234,
"nrn": "organization=1:account=2:namespace=3:application=4",
"entity": "deployment",
"action": "deployment:create",
"dimensions": {
"environment": "production",
"country": "us"
},
"on_policy_success": "approve",
"on_policy_fail": "deny",
"time_to_reply": 259200000,
"allowed_time_to_execute": 86400000
}