AI-generated Key Takeaways
-
This method deletes a Google Workspace subscription using a
DELETErequest to the specified URL. -
The request requires a
namepath parameter specifying the subscription to delete and optional query parameters for validation, error handling, and etag verification. -
An empty request body is required, and a successful response returns an
Operationobject indicating the deletion status. -
Authorization requires one of the listed OAuth scopes, providing access to various Google Chat and Meet functionalities.
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/v1/{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.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.readonly
For more information, see the Authorization guide.