Method: accounts.notificationsubscriptions.delete
Menghapus langganan notifikasi untuk penjual.
Permintaan HTTP
DELETE https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama langganan notifikasi yang akan dihapus.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons adalah objek JSON kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 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"]]