Google Analytics için MCP sunucusunu deneyin.
GitHub'dan yükleyin ve daha fazla bilgi için
duyuruyu inceleyin.
Method: accounts.accessBindings.batchDelete
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Birden fazla kullanıcının bir hesapla veya mülkle bağlantıları hakkındaki bilgileri siler.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchDelete
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Erişim bağlamalarının sahibi olan hesap veya mülk. DeleteAccessBindingRequest mesajlarındaki "adlar" alanı için sağlanan tüm değerlerin üst öğesi bu alanla eşleşmelidir. Biçimler: - accounts/{hesap} - properties/{mülk}
|
İstek içeriği
İstek metni aşağıdaki yapıyla birlikte verileri içerir:
Alanlar |
requests[] |
object (DeleteAccessBindingRequest )
Zorunlu. Silecek erişim bağlamalarını belirten istekler. Bir toplu işlemde en fazla 1.000 erişim bağlaması silinebilir.
|
Yanıt gövdesi
Başarılı olursa yanıt metni boş bir JSON nesnesi olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.manage.users
DeleteAccessBindingRequest
accessBindings.delete RPC için istek mesajı.
JSON gösterimi |
{
"name": string
} |
Alanlar |
name |
string
Zorunlu. Biçimler: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eDeletes information about multiple users' links to an account or property using batch operations.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires a list of access binding names to delete, with a maximum of 1000 bindings per request.\u003c/p\u003e\n"],["\u003cp\u003eThe request should specify the parent account or property that owns the access bindings.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.manage.users\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: accounts.accessBindings.batchDelete\n\n- [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- [DeleteAccessBindingRequest](#DeleteAccessBindingRequest)\n - [JSON representation](#DeleteAccessBindingRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nDeletes information about multiple users' links to an account or property.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchDelete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path 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\n### Request 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\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`\n\nDeleteAccessBindingRequest\n--------------------------\n\nRequest message for accessBindings.delete RPC.\n\n| JSON representation |\n|----------------------------|\n| ``` { \"name\": string } ``` |\n\n| Fields ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |"]]