AI-generated Key Takeaways
-
This document outlines how to delete a site from a specified account using an HTTP DELETE request.
-
The deletion is performed using a specific URL structure that includes the platform, account, and site names.
-
The request body must be empty, and a successful response is an empty JSON object.
-
The request requires authorization using the
https://www.googleapis.com/auth/adsenseOAuth scope.
Deletes a site from a specified account.
HTTP request
DELETE https://adsenseplatform.googleapis.com/v1alpha/{name=platforms/*/accounts/*/sites/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the site to delete. Format: platforms/{platform}/accounts/{account}/sites/{site} |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsense