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 simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). |
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:
Scope |
---|
https://www.googleapis.com/auth/content |
For more information, see the authentication and authorization page.
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.