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

Path Parameters

project
string
required

The project 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.