Grant a User Permission
A 2-step recipe with Google Tag Manager. We can help you get access.
Recipe · 2 steps
Grant a User Permission
with Google Tag Manager
List account permissions, then create a user permission when none exist.
- List all user permissions currently granted on the account.
- Create the user's account and container access on the account.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token for the Tag Manager API.
- accountPath: The account API relative path, e.g. accounts/{accountId}.
- emailAddress: Email address of the user being granted access.
- accountPermission: Account-level permission (e.g. admin, user, noAccess).
- containerId: The container id the user should be granted access to.
- containerPermission: Container-level permission (e.g. publish, edit, read, noAccess).
For your developer
Arazzo workflow google-tag-manager:grant-user-permission, 2 operations: listUserPermissions → createUserPermission. Specs on APIs.io.