Method: accounts.accessBindings.batchDelete

  • This page details how to batch delete information about multiple users' links to an account or property using an HTTP POST request.

  • The request uses path parameters to specify the parent account or property and includes a request body with an array of DeleteAccessBindingRequest objects.

  • Each DeleteAccessBindingRequest object requires the name of the access binding to be deleted.

  • The maximum number of access bindings that can be deleted in a batch is 1000.

  • Successful requests return an empty JSON object and require the https://www.googleapis.com/auth/analytics.manage.users OAuth scope for authorization.

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

HTTP request

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

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 values for the 'names' field in DeleteAccessBindingRequest 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 (DeleteAccessBindingRequest)
    }
  ]
}
Fields
requests[]

object (DeleteAccessBindingRequest)

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

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

DeleteAccessBindingRequest

Request message for accessBindings.delete RPC.

JSON representation
{
  "name": string
}
Fields
name

string

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