Learn R Programming

googleTagManageR (version 0.1.6)

gtm_folders_delete: Deletes a GTM Folder

Description

This deletes a folder in the specified workspaces

Usage

gtm_folders_delete(
  account_id,
  container_id,
  workspace_id,
  folder_id,
  force = c("TRUE", "FALSE")
)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

folder_id

Folder Id

force

Force deletion without user input

See Also

https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/workspaces/folders/delete

Other folder functions: gtm_folders_create(), gtm_folders_entities(), gtm_folders_get(), gtm_folders_list(), gtm_folders_move(), gtm_folders_revert(), gtm_folders_update()

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
accountId <- 1234567
containerId <- 7654321
workspaceId <- 3

gtm_folders_delete(accountId, containerId, workspaceId, force=TRUE)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab