Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
Method: properties.accessBindings.delete
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa powiązanie dostępu na koncie lub w usłudze.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/accessBindings/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Formaty: – accounts/{account}/accessBindings/{accessBinding} – properties/{property}/accessBindings/{accessBinding}
|
Treść żądania
Treść żądania musi być pusta.
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\u003eDeletes an access binding, removing user or service account access to a Google Analytics 4 property or account.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the access binding's resource name using the format: \u003ccode\u003eaccounts/{account}/accessBindings/{accessBinding}\u003c/code\u003e or \u003ccode\u003eproperties/{property}/accessBindings/{accessBinding}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUses a DELETE request with an empty body and requires \u003ccode\u003eanalytics.manage.users\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful deletion, the API returns an empty response body, indicating completion.\u003c/p\u003e\n"]]],["This document outlines how to delete an access binding. The key action is sending a `DELETE` HTTP request to a specified URL, following gRPC Transcoding syntax. The URL contains a required path parameter, `name`, specifying the target access binding using either an account or property format. The request body must be empty. A successful deletion is confirmed by an empty JSON object in the response body. Authorization requires the `analytics.manage.users` OAuth scope.\n"],null,["# Method: properties.accessBindings.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes an access binding on an account or property.\n\n### HTTP request\n\n`DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/accessBindings/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]