Method: properties.accessBindings.batchDelete
Usuwa informacje o połączeniach wielu użytkowników z kontem lub usługą.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchDelete
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Konto lub usługa, do których należą powiązania dostępu. Element nadrzędny wszystkich podanych wartości w polu „names” w wiadomościach DeleteAccessBindingRequest musi być zgodny z tym polem. Formaty: – accounts/{account} – properties/{property}
|
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Pola |
requests[] |
object (DeleteAccessBindingRequest )
Wymagane. prośby określające wiązania dostępu do usunięcia; Maksymalnie można usunąć 1000 powiązań dostępu w ramach jednego zbiorczego usunięcia.
|
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.manage.users
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-14 UTC."],[[["This operation allows for the deletion of multiple user access bindings within a specified Google Analytics account or property."],["It utilizes an HTTP POST request with a structured JSON body containing details of the access bindings to be removed."],["Successful execution results in an empty response body, indicating completion of the deletion process."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope for user management permissions."],["Developers can leverage the provided path parameters and request body structure to interact with this functionality programmatically."]]],["The provided information outlines a batch deletion process for user access bindings within Google Analytics. It utilizes a `POST` HTTP request to a specific URL with a required `parent` path parameter indicating the account or property. The request body is in JSON format containing an array of `requests`, each specifying an access binding to delete, with a limit of 1000 per batch. A successful deletion results in an empty JSON response. This process requires `analytics.manage.users` OAuth scope.\n"]]