gtm_versions_delete {googleTagManageR} | R Documentation |
Delete a container version
Description
Deletes a container version
Usage
gtm_versions_delete(
account_id,
container_id,
version_id,
force = c("TRUE", "FALSE")
)
Arguments
account_id |
Account Id |
container_id |
Container Id |
version_id |
Version Id |
force |
Force deletion without user input |
See Also
Other version functions:
gtm_versions_get()
,
gtm_versions_update()
Examples
## Not run:
accountId <- 1234567
containerId <- 7654321
versionId <- 6
gtm_versions_delete(accountId, containerId, versionId)
# This will delete Version %s. Are you sure you want to continue?
# 1: Yes
# 2: No
# Selection: 1
# Version 6 has been deleted.
tagId = 7
gtm_versions_delete(accountId, containerId, versionId, "TRUE")
# Version 7 has been deleted.
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]