[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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,["**Requires [authorization](#auth)**\n\nInsert or update a user deletion request.\n\nRequest\n\nHTTP request \n\n```\nPOST https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert\n```\n\nAuthorization\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\nRequest body\n\nIn the request body, supply a [UserDeletion.userDeletionRequest resource](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest#resource).\n\nResponse\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\nUse the APIs Explorer below to call this method on live data and see the response."]]