Method: versions.set_latest

Full name: accounts.containers.versions.set_latest

Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.

HTTP request

POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:set_latest

Path parameters

Parameters
path

string

GTM ContainerVersion's API relative path. It takes the form accounts/{account}/containers/{container}/versions/{version}.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/tagmanager.edit.containers

For more information, see the OAuth 2.0 Overview.