Попробуйте сервер MCP для Google Analytics. Установите его с
GitHub и ознакомьтесь с
анонсом для получения более подробной информации.
Method: properties.accessBindings.delete
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Удаляет привязку доступа к учетной записи или ресурсу.
HTTP-запрос
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/accessBindings/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Форматы: accounts/{account}/accessBindings/{accessBinding} — свойства/{property}/accessBindings/{accessBinding}. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа представляет собой пустой объект JSON.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/analytics.manage.users
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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`"]]