Method: projects.locations.tagTemplates.patch

Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the parameter (see Data Catalog Resource Project for more information).

HTTP request


Path parameters



The resource name of the tag template in URL format. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tagTemplateId}

Note that this TagTemplate and its child resources may not actually be stored in the location in this name. It takes the form projects/{project_id}/locations/{location_id}/tagTemplates/{tagtemplate_id}.

Query parameters


string (FieldMask format)

The field mask specifies the parts of the template to overwrite.

Allowed fields:

  • displayName

If absent or empty, all of the allowed fields above will be updated.

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

Request body

The request body contains an instance of TagTemplate.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

Try it!