AI-generated Key Takeaways
- 
          
The platforms.accounts.close method is used to close a sub-account.
 - 
          
This method uses a POST HTTP request with a URL following gRPC Transcoding syntax.
 - 
          
The only required parameter is
namein the path, which specifies the account to close. - 
          
The request and response bodies for this method are empty.
 - 
          
Authorization requires the
https://www.googleapis.com/auth/adsenseOAuth scope. 
Closes a sub-account.
HTTP request
POST https://adsenseplatform.googleapis.com/v1/{name=platforms/*/accounts/*}:close
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. Account to close. Format: platforms/{platform}/accounts/{account_id}  | 
              
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsense