gtm_environments_reauthorize {googleTagManageR} | R Documentation |
Reauthorise an existing GTM environment
Description
This reauthorises an existing GTM environment, generating a new authrorisation Id. This is used to invalidate any existing preview GTM shared preview links and any installations of the environment. You will need to update any snippets on your site with the new authorisation Id afterwards.
Usage
gtm_environments_reauthorize(
account_id,
container_id,
environment_id,
environment
)
Arguments
account_id |
Account Id |
container_id |
Container Id |
environment_id |
Environment Id |
environment |
An Environment object - If you don't have one, one will be generated for you. |
See Also
Other environment functions:
gtm_environments_create()
,
gtm_environments_delete()
,
gtm_environments_get()
,
gtm_environments_list()
,
gtm_environments_update()
Examples
## Not run:
accountId <- 1234567
containerId <- 7654321
environmentId <- 4
env <- gtm_environments_reauthorize(accountId, containerId, enviromentId)
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]