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 with the site's resource name in the URL path."],["An empty request body is necessary, and a successful deletion results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/adsense` OAuth scope."]]],["This document details the process of deleting a site from an account via an API. The core action is a `DELETE` HTTP request to a specific URL, structured using gRPC Transcoding syntax. The URL includes a required path parameter, `name`, which specifies the site to be deleted using the format `platforms/{platform}/accounts/{account}/sites/{site}`. The request body must be empty. Upon success, the API returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/adsense` OAuth scope.\n"]]