Google Tag Manager · Capability

Google Tag Manager API — User Permissions

Google Tag Manager API — User Permissions. 5 operations. Lead operation: Google Tag Manager List User Permissions for an Account. Self-contained Naftiko capability covering one Google Tag Manager business surface.

Run with Naftiko Google Tag ManagerUser Permissions

What You Can Do

GET
Listuserpermissions — Google Tag Manager List User Permissions for an Account
/v1/tagmanager/v2/{parent}/user-permissions
POST
Createuserpermission — Google Tag Manager Create a User Permission
/v1/tagmanager/v2/{parent}/user-permissions
GET
Getuserpermission — Google Tag Manager Get a User Permission
/v1/tagmanager/v2/{userpermissionpath}
PUT
Updateuserpermission — Google Tag Manager Update a User Permission
/v1/tagmanager/v2/{userpermissionpath}
DELETE
Deleteuserpermission — Google Tag Manager Delete a User Permission
/v1/tagmanager/v2/{userpermissionpath}

MCP Tools

google-tag-manager-list-user

Google Tag Manager List User Permissions for an Account

read-only idempotent
google-tag-manager-create-user

Google Tag Manager Create a User Permission

google-tag-manager-get-user

Google Tag Manager Get a User Permission

read-only idempotent
google-tag-manager-update-user

Google Tag Manager Update a User Permission

idempotent
google-tag-manager-delete-user

Google Tag Manager Delete a User Permission

idempotent

Capability Spec

api-v2-user-permissions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Tag Manager API — User Permissions
  description: 'Google Tag Manager API — User Permissions. 5 operations. Lead operation: Google Tag Manager List User Permissions
    for an Account. Self-contained Naftiko capability covering one Google Tag Manager business surface.'
  tags:
  - Google Tag Manager
  - User Permissions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_TAG_MANAGER_API_KEY: GOOGLE_TAG_MANAGER_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-v2-user-permissions
    baseUri: https://tagmanager.googleapis.com
    description: Google Tag Manager API — User Permissions business capability. Self-contained, no shared references.
    resources:
    - name: tagmanager-v2-parent-user_permissions
      path: /tagmanager/v2/{parent}/user_permissions
      operations:
      - name: listuserpermissions
        method: GET
        description: Google Tag Manager List User Permissions for an Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pageToken
          in: query
          type: string
          description: Continuation token for fetching the next page of results.
      - name: createuserpermission
        method: POST
        description: Google Tag Manager Create a User Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tagmanager-v2-userPermissionPath
      path: /tagmanager/v2/{userPermissionPath}
      operations:
      - name: getuserpermission
        method: GET
        description: Google Tag Manager Get a User Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userPermissionPath
          in: path
          type: string
          description: GTM UserPermission's API relative path.
          required: true
      - name: updateuserpermission
        method: PUT
        description: Google Tag Manager Update a User Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userPermissionPath
          in: path
          type: string
          description: GTM UserPermission's API relative path.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteuserpermission
        method: DELETE
        description: Google Tag Manager Delete a User Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userPermissionPath
          in: path
          type: string
          description: GTM UserPermission's API relative path.
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_TAG_MANAGER_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-v2-user-permissions-rest
    port: 8080
    description: REST adapter for Google Tag Manager API — User Permissions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/tagmanager/v2/{parent}/user-permissions
      name: tagmanager-v2-parent-user-permissions
      description: REST surface for tagmanager-v2-parent-user_permissions.
      operations:
      - method: GET
        name: listuserpermissions
        description: Google Tag Manager List User Permissions for an Account
        call: api-v2-user-permissions.listuserpermissions
        with:
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createuserpermission
        description: Google Tag Manager Create a User Permission
        call: api-v2-user-permissions.createuserpermission
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tagmanager/v2/{userpermissionpath}
      name: tagmanager-v2-userpermissionpath
      description: REST surface for tagmanager-v2-userPermissionPath.
      operations:
      - method: GET
        name: getuserpermission
        description: Google Tag Manager Get a User Permission
        call: api-v2-user-permissions.getuserpermission
        with:
          userPermissionPath: rest.userPermissionPath
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateuserpermission
        description: Google Tag Manager Update a User Permission
        call: api-v2-user-permissions.updateuserpermission
        with:
          userPermissionPath: rest.userPermissionPath
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteuserpermission
        description: Google Tag Manager Delete a User Permission
        call: api-v2-user-permissions.deleteuserpermission
        with:
          userPermissionPath: rest.userPermissionPath
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-v2-user-permissions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Tag Manager API — User Permissions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-tag-manager-list-user
      description: Google Tag Manager List User Permissions for an Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-v2-user-permissions.listuserpermissions
      with:
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: google-tag-manager-create-user
      description: Google Tag Manager Create a User Permission
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-v2-user-permissions.createuserpermission
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-tag-manager-get-user
      description: Google Tag Manager Get a User Permission
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-v2-user-permissions.getuserpermission
      with:
        userPermissionPath: tools.userPermissionPath
      outputParameters:
      - type: object
        mapping: $.
    - name: google-tag-manager-update-user
      description: Google Tag Manager Update a User Permission
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: api-v2-user-permissions.updateuserpermission
      with:
        userPermissionPath: tools.userPermissionPath
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-tag-manager-delete-user
      description: Google Tag Manager Delete a User Permission
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-v2-user-permissions.deleteuserpermission
      with:
        userPermissionPath: tools.userPermissionPath
      outputParameters:
      - type: object
        mapping: $.