جرِّب خادم MCP لخدمة "إحصاءات Google". يمكنك تثبيت التطبيق من
GitHub والاطّلاع على
الإعلان لمعرفة المزيد من التفاصيل.
Method: properties.accessBindings.batchDelete
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تؤدي هذه العملية إلى حذف معلومات عن روابط مستخدمين متعدّدين بحساب أو موقع.
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchDelete
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. الحساب أو الموقع الذي يملك عمليات ربط الوصول يجب أن يتطابق الحقل الرئيسي لجميع القيم المقدَّمة لحقل names في رسائل DeleteAccessBindingRequest مع هذا الحقل. التنسيقات: - accounts/{account} - properties/{property}
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
الحقول |
requests[] |
object (DeleteAccessBindingRequest )
مطلوب. الطلبات التي تحدّد عمليات ربط الوصول المطلوب حذفها يمكن حذف 1,000 عملية ربط وصول كحد أقصى في دفعة واحدة.
|
نص الاستجابة
إذا كانت الاستجابة ناجحة، يكون نص الاستجابة هو عنصر JSON فارغ.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.manage.users
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis operation allows for the deletion of multiple user access bindings within a specified Google Analytics account or property.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes an HTTP POST request with a structured JSON body containing details of the access bindings to be removed.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body, indicating completion of the deletion process.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.manage.users\u003c/code\u003e scope for user management permissions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the provided path parameters and request body structure to interact with this functionality programmatically.\u003c/p\u003e\n"]]],["The provided information outlines a batch deletion process for user access bindings within Google Analytics. It utilizes a `POST` HTTP request to a specific URL with a required `parent` path parameter indicating the account or property. The request body is in JSON format containing an array of `requests`, each specifying an access binding to delete, with a limit of 1000 per batch. A successful deletion results in an empty JSON response. This process requires `analytics.manage.users` OAuth scope.\n"],null,["# Method: properties.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- [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=properties/*}/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`"]]