Method: projects.locations.apis.versions.patch

Update API version. The following fields in the version can be updated currently:

The updateMask should be used to specify the fields being updated.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Identifier. The name of the version.

Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

Query parameters


string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "display_name,attributes".

Request body

The request body contains an instance of Version.

Response body

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

Authorization scopes

Requires the following OAuth scope:


IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.versions.update

For more information, see the IAM documentation.