Learn R Programming

googleTagManageR (version 0.1.6)

gtm_zones_delete: Delete a zone

Description

This deletes a zone in a GTM workspace

Usage

gtm_zones_delete(
  account_id,
  container_id,
  workspace_id,
  zone_id,
  force = c("TRUE", "FALSE")
)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

zone_id

Zone Id

force

Force deletion without user input

See Also

https://developers.google.com/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()

Examples

Run this code
# 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