accounts
DELETE /{merchantId}/accounts/{accountId}
Deletes a Merchant Center sub-account.
Request
- Base URLhttps://shoppingcontent.googleapis.com/content/v2.1
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/contentAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/content
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchantIdstring required
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.
accountIdstring required
The ID of the account.
Query parameters
forceboolean
Option to delete sub-accounts with products. The default value is false.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.