Method: accounts.notificationsubscriptions.delete
Usuwa subskrypcję powiadomień dla sprzedawcy.
Żądanie HTTP
DELETE https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa subskrypcji powiadomień, którą chcesz usunąć.
|
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."],[[["Deletes a specific notification subscription for a merchant using a DELETE request."],["Requires the `name` path parameter to identify the subscription to be deleted."],["Has an empty request body and returns an empty JSON object upon success."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document outlines the process for deleting a merchant's notification subscription. The core action is a `DELETE` HTTP request to a specific URL: `https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}`. The `name` parameter, which is required, identifies the subscription. The request body must be empty. A successful deletion results in an empty JSON response. This operation requires the `https://www.googleapis.com/auth/content` OAuth scope for authorization.\n"]]