gtm_triggers_revert: Reverts a trigger to its original state

View source: R/triggers.R

gtm_triggers_revertR Documentation

Reverts a trigger to its original state

Description

This reverts a trigger back to its original, unmodified state.

Usage

gtm_triggers_revert(account_id, container_id, workspace_id, trigger_id)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

trigger_id

Trigger Id

See Also

https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/triggers/revert

Other trigger functions: gtm_triggers_create(), gtm_triggers_delete(), gtm_triggers_get(), gtm_triggers_list(), gtm_triggers_update()

Examples


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
triggerId <- 20

trugger <- gtm_triggers_revert(accountId, containerId, workspaceId, triggerId)

# Changes to trigger 20 have been reverted

## End(Not run)


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