| DeleteAccount |
|---|
| `` rpc DeleteAccount( ` https://developers.google.com/merchant/api/reference/rpc/google.shopping.merchant.accounts.v1/Types/DeleteAccountRequest ` ) returns ( ` https://protobuf.dev/reference/protobuf/google.protobuf#empty ` ) `` Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](https://developers.google.com/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the ` force ` parameter to override this. Authorization scopes : Requires the following OAuth scope: - ` https://www.googleapis.com/auth/content ` For more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2) . |