gtm_versions_delete | R Documentation |
Deletes a container version
gtm_versions_delete( account_id, container_id, version_id, force = c("TRUE", "FALSE") )
account_id |
Account Id |
container_id |
Container Id |
version_id |
Version Id |
force |
Force deletion without user input |
Other version functions:
gtm_versions_get()
,
gtm_versions_update()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.