刪除 Google Workspace 訂閱方案。如要瞭解如何使用此方法,請參閱「刪除 Google Workspace 訂閱方案」。
HTTP 要求
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
這個網址使用 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
詳情請參閱授權指南。