Shape the future of software delivery and make your voice heard by taking the 2021 State of DevOps survey.

Method: projects.locations.repositories.packages.tags.patch

Updates a tag.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".

Query parameters


string (FieldMask format)

The update mask applies to the resource. For the FieldMask definition, see

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.