Method: accounts.userLinks.batchUpdate

Updates information about multiple users' links to an account or property.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (UpdateUserLinkRequest)
    }
  ]
}
Fields
requests[]

object (UpdateUserLinkRequest)

Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch.

Response body

If successful, the response body contains an instance of BatchUpdateUserLinksResponse.

Authorization scopes

Requires the following OAuth scope:

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

UpdateUserLinkRequest

Request message for userLinks.patch RPC.

JSON representation
{
  "userLink": {
    object (UserLink)
  }
}
Fields