Method: properties.accessBindings.create

  • Creates an access binding for a Google Analytics account or property using an HTTP POST request.

  • Requires specifying the parent account or property in the request path.

  • The request body should contain an AccessBinding object, and a successful response will return the created AccessBinding.

  • Authorization requires the https://www.googleapis.com/auth/analytics.manage.users scope.

Creates an access binding on an account or property.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Formats: - accounts/{account} - properties/{property}

Request body

The request body contains an instance of AccessBinding.

Response body

If successful, the response body contains a newly created instance of AccessBinding.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.manage.users