Method: platforms.accounts.close
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 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["This endpoint allows you to close a sub-account using an HTTP POST request to a specified URL."],["You need to provide the account's platform and ID as path parameters in the request URL."],["The request body should be empty, and a successful operation results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/adsense` OAuth scope."]]],["The core action is closing a sub-account via a POST request to a specific URL. The URL path is structured using gRPC Transcoding, requiring a `name` parameter indicating the account to close, formatted as `platforms/{platform}/accounts/{account_id}`. The request body must be empty. A successful operation results in an empty response body. The operation requires the `https://www.googleapis.com/auth/adsense` OAuth scope for authorization.\n"]]