Take our developer survey. We want your feedback so we can learn how to improve Google Analytics, and make it an even better tool for you.

Method: properties.userLinks.create

Creates a user link on an account or property.

If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Example format: accounts/1234

Query parameters

Parameters
notifyNewUser

boolean

Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.

Request body

The request body contains an instance of UserLink.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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