试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
UserDeletion.userDeletionRequest: upsert
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yetkilendirme gerektiriyor
Kullanıcı silme isteği ekleyin veya mevcut isteği güncelleyin.
Deneyin!
Canlı verilerde bu yöntemi çağırmak ve yanıtı görmek için aşağıdaki API Gezgini'ni kullanın.
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\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."]]