Update an approval policy
1 min
PATCH
http://localhost:3002//projects/{project_id}/environments/{environment_id}/policies/{policy_id}
project_idinteger
environment_idinteger
policy_idinteger
acceptstringGenerated from available response content types
bodyobject
200Policy updated successfully
404Policy not found
422Validation Error
curl --request PATCH \
--url http://localhost:3002//projects/{project_id}/environments/{environment_id}/policies/{policy_id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"approvers": [
{
"type": ""
}
],
"notification_recipients": [
{
"type": ""
}
],
"entities": [
{
"operation": "",
"entity_key": "",
"entity_id": ""
}
]
}'