Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
UserDeletion.userDeletionRequest: upsert
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Cần phải uỷ quyền
Chèn hoặc cập nhật yêu cầu xoá người dùng.
Hãy dùng thử!
Hãy sử dụng APIs Explorer (Trình khám phá API) bên dưới để gọi phương thức này trên dữ liệu trực tiếp và xem phản hồi.
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-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eInserts or updates a user deletion request using the \u003ccode\u003ePOST\u003c/code\u003e method and the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.user.deletion\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eUserDeletion.userDeletionRequest\u003c/code\u003e resource as detailed in the provided documentation.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a \u003ccode\u003eUserDeletion.userDeletionRequest\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"]]],["This outlines how to insert or update a user deletion request using the Google Analytics API. It mandates authorization with the `https://www.googleapis.com/auth/analytics.user.deletion` scope. The process involves a `POST` request to `https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert`. The request body requires a `UserDeletion.userDeletionRequest` resource, and a successful response returns the same `UserDeletion.userDeletionRequest` resource. The provided API explorer allows testing this process.\n"],null,["# UserDeletion.userDeletionRequest: upsert\n\n**Requires [authorization](#auth)**\n\nInsert or update a user deletion request.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert\n```\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/analytics/devguides/config/userdeletion/v3/authorization)).\n\n| Scope |\n|-----------------------------------------------------------|\n| `https://www.googleapis.com/auth/analytics.user.deletion` |\n\n### Request body\n\nIn the request body, supply a [UserDeletion.userDeletionRequest resource](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [UserDeletion.userDeletionRequest resource](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]