v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-135672128.0 KB
accounts

Updates a GTM Environment.

put/tagmanager/v2/{+path}

Path parameters

pathstring required

GTM Environment's API relative path.

Query parameters

fingerprintstring

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

Request body

authorizationTimestampstring google-datetime

The last update time-stamp for the authorization code.

urlstring

Default preview page url for the environment.

fingerprintstring

The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.

workspaceIdstring

Represents a link to a quick preview of a workspace.

namestring

The environment display name. Can be set or changed only on USER type environments.

containerVersionIdstring

Represents a link to a container version.

authorizationCodestring

The environment authorization code.

pathstring

GTM Environment's API relative path.

type'user' | 'live' | 'latest' | 'workspace'

The type of this environment.

enableDebugboolean

Whether or not to enable debug by default for the environment.

tagManagerUrlstring

Auto generated link to the tag manager UI

accountIdstring

GTM Account ID.

descriptionstring

The environment description. Can be set or changed only on USER type environments.

environmentIdstring

GTM Environment ID uniquely identifies the GTM Environment.

containerIdstring

GTM Container ID.

Response

Successful response