gtm_folders_delete: Deletes a GTM Folder

View source: R/folders.R

gtm_folders_deleteR Documentation

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-platform/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


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 3

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


## End(Not run)


jamescottrill/googleTagManageR documentation built on April 21, 2022, 5:40 p.m.