Method: accounts.notificationsubscriptions.delete
لحذف اشتراك تاجر في خدمة تلقّي الإشعارات
طلب HTTP
DELETE https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
name |
string
مطلوب. اسم اشتراك الإشعار المطلوب حذفه.
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يكون نص الاستجابة هو عنصر JSON فارغ.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/content
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]