Method: accounts.accessBindings.batchUpdate

  • This documentation outlines how to update information about multiple access bindings to a Google Analytics account or property using the batchUpdate method.

  • The method utilizes an HTTP POST request to a specific endpoint with path parameters indicating the account or property.

  • The request body should contain an array of UpdateAccessBindingRequest objects, each specifying an access binding to update.

  • Successful execution results in a BatchUpdateAccessBindingsResponse object, and the process requires the analytics.manage.users OAuth scope for authorization.

Updates information about multiple access bindings to an account or property.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}

Request body

The request body contains data with the following structure:

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

object (UpdateAccessBindingRequest)

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

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

UpdateAccessBindingRequest

Request message for accessBindings.patch RPC.

JSON representation
{
  "accessBinding": {
    object (AccessBinding)
  }
}
Fields
accessBinding

object (AccessBinding)

Required. The access binding to update.