UserDeletion.userDeletionRequest: upsert
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["Inserts or updates a user deletion request using the `POST` method and the provided endpoint."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.user.deletion` scope."],["The request body should contain a `UserDeletion.userDeletionRequest` resource as detailed in the provided documentation."],["A successful response returns a `UserDeletion.userDeletionRequest` resource in the response body."]]],["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"]]