重新啟用已停用的 Google Workspace 訂閱方案。
這個方法會將訂閱項目的 State
欄位重設為 ACTIVE
。使用這個方法前,請先修正導致訂閱方案遭停用的錯誤。如果訂閱方案目前未處於暫停狀態,這個方法會忽略或拒絕任何訂閱方案。如要瞭解如何使用這個方法,請參閱「重新啟用 Google Workspace 訂閱方案」。
HTTP 要求
POST https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
name |
必要欄位。訂閱項目的資源名稱。 格式: |
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 Operation
的執行例項。
metadata
欄位包含空白陣列。response
欄位包含Subscription
的更新執行個體。
授權範圍
需要下列其中一種 OAuth 範圍:
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
詳情請參閱授權指南。