- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.workspaces.tags.revert
Reverts changes to a GTM Tag in a GTM Workspace.
HTTP request
POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:revert
Path parameters
Parameters | |
---|---|
path |
GTM Tag's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
fingerprint |
When provided, this fingerprint must match the fingerprint of thetag in storage. |
Request body
The request body must be empty.
Response body
The result of reverting a tag in a workspace.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"tag": {
object ( |
Fields | |
---|---|
tag |
Tag as it appears in the latest container version since the last workspace synchronization operation. If no tag is present, that means the tag was deleted in the latest container version. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tagmanager.edit.containers
For more information, see the OAuth 2.0 Overview.