Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. Try it now.
Request
HTTP request
POST https://www.googleapis.com/tagmanager/v2/+path:resolve_conflict
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
path |
string |
GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Optional query parameters | ||
fingerprint |
string |
When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict. |
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
In the request body, supply data with the following structure:
{ "tag": accounts.containers.workspaces.tags Resource, "trigger": accounts.containers.workspaces.triggers Resource, "variable": accounts.containers.workspaces.variables Resource, "folder": accounts.containers.workspaces.folders Resource, "client": accounts.containers.workspaces.clients Resource, "changeStatus": string }
Property name | Value | Description | Notes |
---|---|---|---|
tag |
nested object |
The tag being represented by the entity. | |
trigger |
nested object |
The trigger being represented by the entity. | |
variable |
nested object |
The variable being represented by the entity. | |
folder |
nested object |
The folder being represented by the entity. | |
changeStatus |
string |
Represents how the entity has been changed in the workspace.
Acceptable values are:
|
|
client |
nested object |
The client being represented by the entity. |
Response
If successful, this method returns an empty response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.