يحذف هذا الطلب اشتراكًا في Google Workspace. للتعرّف على كيفية استخدام هذه الطريقة، يُرجى الاطّلاع على مقالة حذف اشتراك Google Workspace.
طلب HTTP
DELETE https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}
يستخدم عنوان URL بنية تحويل الترميز إلى gRPC.
مَعلمات المسار
| المعلمات | |
|---|---|
name |
الحقل مطلوب. اسم مورد الاشتراك المطلوب حذفه التنسيق: |
معلمات طلب البحث
| المعلمات | |
|---|---|
validateOnly |
اختياريّ. إذا تم ضبط هذه المَعلمة على |
allowMissing |
اختياريّ. إذا تم ضبط هذه المَعلمة على |
etag |
اختياريّ. علامة etag للاشتراك في حال توفُّرها، يجب أن تتطابق مع علامة etag الخاصة بالخادم. وإلا، سيفشل الطلب مع ظهور الحالة |
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Operation.
- يحتوي الحقل
metadataعلى مصفوفة فارغة. - الحقل
responseفارغ.
نطاقات الأذونات
يجب توفير أحد نطاقات OAuth التالية:
https://www.googleapis.com/auth/chat.bothttps://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
لمزيد من المعلومات، يُرجى الاطّلاع على دليل التفويض.