gtm_permissions_create: gtm_permissions_create

Description Usage Arguments

View source: R/gtm_permissions_methods.R

Description

Lists all of the user permissions in a GTM account.

Usage

1
2
3
4
5
6
7
8
gtm_permissions_create(
  account_id,
  email,
  account_permission,
  container_permissions,
  token,
  verbose = FALSE
)

Arguments

account_id

The ID of the account

email

The email to which you want to grant permissions

account_permission

The account level permissions for the user; possible values are "accountPermissionUnspecified", "admin", "noAccess", and "user"

container_permissions

A data frame of the permissions per container, with the container ID in the first column and the permission in the second column. Possible permissions are "approve", "containerPermissionUnspecified", "edit", "noAccess", "publish", and "read"

token

An OAuth token object - needs to be set to 'manage users'

verbose

If you want a message letting you know that your results have been successfully retrieved. Defaults to FALSE


neugelb/gtmr documentation built on June 25, 2020, 10:06 a.m.