Skip to main content
PATCH
/
v1
/
environments
/
{environment}
/
policies
/
{policy}
cURL
curl --request PATCH \
  --url https://api.example.com/v1/environments/{environment}/policies/{policy} \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Path Parameters

environment
string
required

The environment id.

policy
string
required

The policy id.

Query Parameters

updateMask
string<field-mask>

The list of fields to update.

allowMissing
boolean

If set to true, and the policy is not found, a new policy will be created. In this situation, update_mask is ignored.

Body

application/json

The body is of type object.

Response

OK

The response is of type object.