powered by
This deletes a folder in the specified workspaces
gtm_folders_delete( account_id, container_id, workspace_id, folder_id, force = c("TRUE", "FALSE") )
Account Id
Container Id
Workspace Id
Folder Id
Force deletion without user input
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()
gtm_folders_create()
gtm_folders_entities()
gtm_folders_get()
gtm_folders_list()
gtm_folders_move()
gtm_folders_revert()
gtm_folders_update()
# 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