powered by
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities
gtm_workspaces_sync(account_id, container_id, workspace_id)
Account Id
Container Id
Workspace Id
https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/sync
Other workspace functions: gtm_workspaces_create(), gtm_workspaces_delete(), gtm_workspaces_get(), gtm_workspaces_list(), gtm_workspaces_preview(), gtm_workspaces_resolve(), gtm_workspaces_status(), gtm_workspaces_submit(), gtm_workspaces_update()
gtm_workspaces_create()
gtm_workspaces_delete()
gtm_workspaces_get()
gtm_workspaces_list()
gtm_workspaces_preview()
gtm_workspaces_resolve()
gtm_workspaces_status()
gtm_workspaces_submit()
gtm_workspaces_update()
# NOT RUN { # } # NOT RUN { accountId <- 1234567 containerId <- 7654321 workspaceId <- 6 syncResult <- gtm_workspaces_sync(accountId, containerId, workspaceId) # } # NOT RUN { # }
Run the code above in your browser using DataLab