Method: projects.locations.entryGroups.tags.patch

Updates an existing tag.

HTTP request


Path parameters



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

  • projects/{projectId}/locations/{location}/entrygroups/{entryGroupId}/entries/{entryId}/tags/{tag_id}

where tag_id is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name. It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}/tags/{tag}.

Query parameters


string (FieldMask format)

Note: Currently, this parameter can only take "fields" as value.

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

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 Tag.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.