Reverts changes to a GTM Built-In Variables in a GTM Workspace. Try it now.
Request
HTTP request
POST https://www.googleapis.com/tagmanager/v2/+path/built_in_variables:revert
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
path |
string |
GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables |
Optional query parameters | ||
type |
string |
The type of built-in variable to revert.
Acceptable values are:
|
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "enabled": boolean }
Property name | Value | Description | Notes |
---|---|---|---|
enabled |
boolean |
Whether the built-in variable is enabled after reversion. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.