Method: accounts.dataSources.delete
Usuwa źródło danych z konta Merchant Center.
Żądanie HTTP
DELETE https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa źródła danych, które chcesz usunąć. Format: accounts/{account}/dataSources/{datasource}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/content
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-23 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-23 UTC."],[[["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."]]],["This document details the process for deleting a data source from a Merchant Center account. The core action is a `DELETE` HTTP request to a specific URL: `https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}`. The `name` path parameter, a string, is mandatory, specifying the data source to delete. The request body must be empty. A successful deletion returns an empty JSON object. The `https://www.googleapis.com/auth/content` OAuth scope is required for authorization.\n"]]