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 )
必要欄位。指定要刪除的存取繫結要求。一次最多只能刪除 1000 個存取繫結。
|
回應主體
如果成功,回應主體會是空的 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}
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-14 (世界標準時間)。
[null,null,["上次更新時間: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"]]