Method: platforms.accounts.close

Closes a sub-account.

HTTP request

POST https://adsenseplatform.googleapis.com/v1alpha/{name=platforms/*/accounts/*}:close

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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