Method: subscriptions.delete
HTTP-запрос
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя ресурса подписки, которую необходимо удалить. Формат: subscriptions/{subscription} |
Параметры запроса
Параметры |
---|
validateOnly | boolean Необязательный. Если установлено значение true , проверяется и просматривается запрос, но не удаляется подписка. |
allowMissing | boolean Необязательный. Если установлено значение true и подписка не найдена, запрос выполняется успешно, но подписка не удаляется. |
etag | string Необязательный. Этаг подписки. Если он присутствует, он должен совпадать с 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
Дополнительную информацию см. в руководстве по авторизации .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-26 UTC.
[null,null,["Последнее обновление: 2024-10-26 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"]]