Update an action
Changed onUpdates the on_policy_success, on_policy_fail, on_checklist_fail, time_to_reply, and allowed_time_to_execute fields of an existing approval action.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/approval/action/{id}
- AuthHTTP bearer
Path parameters
The ID of the approval action.
Request body
Example request
{
"on_policy_success": "approve",
"on_policy_fail": "deny",
"on_checklist_fail": "manual",
"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",
"on_checklist_fail": "manual",
"time_to_reply": 259200000,
"allowed_time_to_execute": 86400000
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info