Method: projects.locations.taxonomies.policyTags.patch

Stay organized with collections Save and categorize content based on your preferences.

Updates a policy tag.

HTTP request


Path parameters



Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{locationId}/taxonomies/{taxonomyId}/policyTags/{id}". It takes the form projects/{project}/locations/{location}/taxonomies/{taxonomies}/policyTags/{policytag}.

Query parameters


string (FieldMask format)

The update mask applies to the resource. Only displayName, description and parentPolicyTag can be updated and thus can be listed in the mask. If updateMask is not provided, all allowed fields (i.e. displayName, description and parent) will be updated. For more information including the FieldMask definition, see If not set, defaults to all of the fields that are allowed to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of PolicyTag.

Response body

If successful, the response body contains an instance of PolicyTag.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.