Method: properties.accessBindings.batchDelete

  • This document outlines how to delete multiple users' links to an account or property using the Google Analytics Admin API.

  • The request is made via an HTTP POST request to a specific URL that includes the parent account or property ID.

  • The request body contains a list of DeleteAccessBindingRequest objects, specifying the access bindings to be deleted.

  • A maximum of 1000 access bindings can be deleted in a single batch.

  • Successful requests return an empty JSON object.

  • This action requires the https://www.googleapis.com/auth/analytics.manage.users authorization scope.

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

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/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