Method: platforms.accounts.sites.delete
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 2025-01-22 UTC.
[null,null,["Last updated 2025-01-22 UTC."],[[["Deletes a specific site from a designated AdSense account."],["Requires an HTTP DELETE request to the specified endpoint, including account and site identifiers."],["Uses the `https://www.googleapis.com/auth/adsense` authorization scope for access."],["The request body should be empty, and a successful deletion results in an empty response body."]]],["This document details the process of deleting a site from an AdSense account using a `DELETE` HTTP request. The request URL, employing gRPC Transcoding syntax, targets a specific site via its `name` path parameter (format: `platforms/*/accounts/*/sites/*`). The request body must be empty. A successful deletion results in an empty JSON object response. This action requires the `https://www.googleapis.com/auth/adsense` OAuth scope for authorization. The user can test it by using the `Try it!` button.\n"]]