powered by
This deletes a zone in a GTM workspace
gtm_zones_delete( account_id, container_id, workspace_id, zone_id, force = c("TRUE", "FALSE") )
Account Id
Container Id
Workspace Id
Zone Id
Force deletion without user input
https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/zones/delete
Other zone functions: gtm_zones_create(), gtm_zones_get(), gtm_zones_list(), gtm_zones_revert(), gtm_zones_update()
gtm_zones_create()
gtm_zones_get()
gtm_zones_list()
gtm_zones_revert()
gtm_zones_update()
# NOT RUN { # } # NOT RUN { accountId <- 1234567 containerId <- 7654321 workspaceId <- 11 zoneId <- 3 gtm_zones_delete(accountId, containerId, workspaceId, zoneId, "TRUE") # } # NOT RUN { # }
Run the code above in your browser using DataLab