Method: subscriptions.delete
طلب HTTP
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المَعلمات |
name |
string
مطلوبة. اسم مورد الاشتراك المراد حذفه. تنسيق الملف: subscriptions/{subscription}
|
معلمات طلب البحث
المَعلمات |
validateOnly |
boolean
اختياريّ. في حال ضبط السياسة على true ، يتم التحقّق من الطلب ومعاينته، ولكن بدون حذف الاشتراك.
|
allowMissing |
boolean
اختياريّ. إذا تم ضبط السياسة على true ولم يتم العثور على الاشتراك، سينجح الطلب ولكن لا يتم حذف الاشتراك.
|
etag |
string
اختياريّ. علامة الاشتراك وفي حال توفّره، يجب أن تتطابق مع العلامة الإلكترونية للخادم. بخلاف ذلك، سيتعذّر تنفيذ الطلب وتكون الحالة ABORTED .
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Operation
.
- يحتوي الحقل
metadata
على صفيف فارغ. - الحقل
response
فارغ.
نطاقات التفويض
يتطلب استخدام أحد نطاقات OAuth التالية:
https://www.googleapis.com/auth/chat.bot
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
لمزيد من المعلومات، راجِع دليل التفويض.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-05-03 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-05-03 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This document describes how to delete a Google Workspace subscription using the `DELETE` method."],["The request requires specifying the subscription name in the URL path and can optionally include query parameters for validation, error handling, and Etag verification."],["An empty request body is required, and a successful response will return an Operation object indicating the deletion process."],["To authorize this request, you need one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/chat.bot` or those related to Chat, Meetings, and Spaces."],["This feature is part of the Google Workspace Developer Preview Program and may be subject to change."]]],["This document outlines the process for deleting a Google Workspace subscription via an HTTP DELETE request to `https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}`. The `name` path parameter is required to specify the subscription. Optional query parameters include `validateOnly`, `allowMissing`, and `etag`. The request body should be empty. A successful operation returns an Operation instance, while specific OAuth scopes are required for authorization.\n"]]