Method: accounts.dataSources.delete

  • This document outlines the process for deleting a data source from a Merchant Center account using an HTTP DELETE request.

  • The request requires specifying the data source name in the URL path and an empty request body.

  • Upon successful deletion, the response will be an empty JSON object.

  • Authorization is necessary using the https://www.googleapis.com/auth/content OAuth scope.

Deletes a data source from your Merchant Center account.

HTTP request

DELETE https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the data source to delete. Format: accounts/{account}/dataSources/{datasource}

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.