accounts

DELETE /{merchantId}/accounts/{accountId}

Deletes a Merchant Center sub-account.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A 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.