Containers: update

Requires authorization

Updates a Container. Try it now.

Request

HTTP request

PUT https://www.googleapis.com/tagmanager/v2/path

Parameters

Parameter name Value Description
Path parameters
path string GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
Optional query parameters
fingerprint string When provided, this fingerprint must match the fingerprint of the container in storage.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply a Containers resource with the following properties:

Property name Value Description Notes
Optional Properties
domainName[] list List of domain names associated with the Container. writable
name string Container display name. writable
notes string Container Notes. writable
usageContext[] list List of Usage Contexts for the Container. Valid values include: web, android, or ios. writable

Response

If successful, this method returns a Containers resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.