Method: containers.update

Full name: accounts.containers.update

Updates a Container.

HTTP request

PUT https://tagmanager.googleapis.com/tagmanager/v1/accounts/{accountId}/containers/{containerId}

Path parameters

Parameters
accountId

string

The GTM Account ID.

containerId

string

The GTM Container ID.

Query parameters

Parameters
fingerprint

string

When provided, this fingerprint must match the fingerprint of the container in storage.

Request body

The request body contains an instance of Container.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.