AI-generated Key Takeaways
-
This document details how to delete a site from a specified account using a DELETE HTTP request.
-
The request requires a
namepath parameter which specifies the site to delete using a specific format. -
The request body must be empty, and a successful response body is an empty JSON object.
-
The request requires authorization with the
https://www.googleapis.com/auth/adsenseOAuth scope.
Deletes a site from a specified account.
HTTP request
DELETE https://adsenseplatform.googleapis.com/v1/{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