Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
Method: properties.accessBindings.batchDelete
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
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-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis operation allows for the deletion of multiple user access bindings within a specified Google Analytics account or property.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes an HTTP POST request with a structured JSON body containing details of the access bindings to be removed.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body, indicating completion of the deletion process.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.manage.users\u003c/code\u003e scope for user management permissions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the provided path parameters and request body structure to interact with this functionality programmatically.\u003c/p\u003e\n"]]],["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"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes information about multiple users' links to an account or property.\n\nHTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchDelete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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} |\n\nRequest body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchDelete#DeleteAccessBindingRequest) } ] } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[DeleteAccessBindingRequest](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchDelete#DeleteAccessBindingRequest)`)` Required. The requests specifying the access bindings to delete. A maximum of 1000 access bindings can be deleted in a batch. |\n\nResponse body\n\nIf successful, the response body is an empty JSON object.\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]