Accounts: delete

Requires authorization

Deletes a Merchant Center sub-account. Try it now.

Request

HTTP request

DELETE https://www.googleapis.com/content/v2/merchantId/accounts/accountId

Parameters

Parameter name Value Description
Path parameters
accountId unsigned long The ID of the account.
merchantId unsigned long The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.
Optional query parameters
dryRun boolean Flag to run the request in dry-run mode.
force boolean Flag to delete sub-accounts with products. The default value is false. (Default: false)

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Content API for Shopping