Method: accounts.accessBindings.batchDelete
删除与多位用户与某个账号或媒体资源的关联相关的信息。
HTTP 请求
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchDelete
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。拥有访问权限绑定的账号或媒体资源。DeleteAccessBindingRequest 消息中“names”字段的所有提供值的父级必须与此字段匹配。格式:- accounts/{account} - properties/{property}
|
请求正文
请求正文中包含结构如下的数据:
字段 |
requests[] |
object (DeleteAccessBindingRequest )
必需。指定要删除的访问权限绑定的请求。一次最多可批量删除 1,000 个访问权限绑定。
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/analytics.manage.users
DeleteAccessBindingRequest
accessBindings.delete RPC 的请求消息。
JSON 表示法 |
{
"name": string
} |
字段 |
name |
string
必需。格式:- accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["Deletes information about multiple users' links to an account or property using batch operations."],["The API requires a list of access binding names to delete, with a maximum of 1000 bindings per request."],["The request should specify the parent account or property that owns the access bindings."],["Successful deletion results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This document details the process of batch deleting user access bindings to Google Analytics accounts or properties. It involves sending a `POST` HTTP request to a specified URL, including a `parent` path parameter that identifies the account or property. The request body contains an array of `DeleteAccessBindingRequest` objects, each specifying an access binding to delete. The maximum number of requests is 1000. Upon successful deletion, an empty JSON object is returned. Authorization requires the `analytics.manage.users` OAuth scope.\n"]]