- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.workspaces.built_in_variables.revert
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
HTTP request
POST https://tagmanager.googleapis.com/tagmanager/v2/{path}/built_in_variables:revert
Path parameters
Parameters | |
---|---|
path |
GTM BuiltInVariable's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
type |
The type of built-in variable to revert. |
Request body
The request body must be empty.
Response body
The result of reverting a built-in variable in a workspace.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "enabled": boolean } |
Fields | |
---|---|
enabled |
Whether the built-in variable is enabled after reversion. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tagmanager.edit.containers
For more information, see the OAuth 2.0 Overview.