Method: properties.accessBindings.batchDelete
Xoá thông tin về các mối liên kết của nhiều người dùng với một tài khoản hoặc tài sản.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchDelete
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
parent |
string
Bắt buộc. Tài khoản hoặc tài sản sở hữu các liên kết quyền truy cập. Trường mẹ của tất cả giá trị được cung cấp cho trường "names" (tên) trong thông báo DeleteAccessBindingRequest phải khớp với trường này. Định dạng: – accounts/{account} – properties/{property}
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Trường |
requests[] |
object (DeleteAccessBindingRequest )
Bắt buộc. Các yêu cầu chỉ định các liên kết quyền truy cập cần xoá. Bạn có thể xoá tối đa 1.000 liên kết quyền truy cập trong một lô.
|
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.manage.users
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-01-14 UTC."],[[["This operation allows for the deletion of multiple user access bindings within a specified Google Analytics account or property."],["It utilizes an HTTP POST request with a structured JSON body containing details of the access bindings to be removed."],["Successful execution results in an empty response body, indicating completion of the deletion process."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope for user management permissions."],["Developers can leverage the provided path parameters and request body structure to interact with this functionality programmatically."]]],["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"]]