Method: subscriptions.delete
HTTP-Anfrage
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Ressourcenname des Abos, das gelöscht werden soll. Format: subscriptions/{subscription}
|
Suchparameter
Parameter |
validateOnly |
boolean
Optional. Wenn true festgelegt ist, wird die Anfrage validiert und als Vorschau angezeigt, das Abo wird jedoch nicht gelöscht.
|
allowMissing |
boolean
Optional. Wenn true festgelegt ist und das Abo nicht gefunden wird, ist die Anfrage erfolgreich, das Abo wird jedoch nicht gelöscht.
|
etag |
string
Optional. ETag des Abos. Falls vorhanden, muss er mit dem ETag des Servers übereinstimmen. Andernfalls schlägt die Anfrage mit dem Status ABORTED fehl.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation
.
- Das Feld
metadata
enthält ein leeres Array. - Das Feld
response
ist leer.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
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
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-03 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]