Method: subscriptions.delete
HTTP リクエスト
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。削除するサブスクリプションのリソース名。 形式: subscriptions/{subscription}
|
クエリ パラメータ
パラメータ |
validateOnly |
boolean
(省略可)true に設定すると、リクエストの検証とプレビューは行われますが、サブスクリプションの削除は行いません。
|
allowMissing |
boolean
(省略可)true に設定されていてサブスクリプションが見つからなかった場合、リクエストは成功しますが、サブスクリプションは削除されません。
|
etag |
string
(省略可)定期購入の ETag。 存在する場合は、サーバーの Etag と一致する必要があります。それ以外の場合、リクエストは 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
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-03 UTC。
[null,null,["最終更新日 2024-05-03 UTC。"],[[["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"]]