AI-generated Key Takeaways
- 
          This document describes how to delete a Google Workspace subscription using the DELETEmethod.
- 
          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.botor those related to Chat, Meetings, and Spaces.
- 
          This feature is part of the Google Workspace Developer Preview Program and may be subject to change. 
Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.
HTTP request
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. Resource name of the subscription to delete. Format:  | 
Query parameters
| Parameters | |
|---|---|
| validateOnly | 
 Optional. If set to  | 
| allowMissing | 
 Optional. If set to  | 
| etag | 
 Optional. Etag of the subscription. If present, it must match with the server's etag. Otherwise, request fails with the status  | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
- The metadatafield contains an empty array.
- The responsefield is empty.
Authorization scopes
Requires one of the following OAuth scopes:
- 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
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/drive.file
- https://www.googleapis.com/auth/drive.metadata
- https://www.googleapis.com/auth/drive.metadata.readonly
- https://www.googleapis.com/auth/drive.readonly
For more information, see the Authorization guide.