Workspaces: resolve_conflict

Requires authorization

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 (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/tagmanager.edit.containers

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,
  "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:
  • "added"
  • "changeStatusUnspecified"
  • "deleted"
  • "none"
  • "updated"

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.