Method: accounts.deleteNotifications
Очищает настройки уведомлений pubsub для учетной записи.
HTTP-запрос
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Имя ресурса для параметров уведомлений, которые необходимо очистить. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа пустое.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/plus.business.manage
-
https://www.googleapis.com/auth/business.manage
Дополнительную информацию см. в обзоре OAuth 2.0 .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-26 UTC.
[null,null,["Последнее обновление: 2024-10-26 UTC."],[[["This document describes how to clear pubsub notification settings for a Google My Business account using the `DELETE` method and the specified endpoint."],["The request requires specifying the account name in the path parameter and an empty request body."],["A successful operation results in an empty response body, indicating the settings have been cleared."],["Authorization requires using one of the specified OAuth scopes: `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."],["This method is deprecated and Google recommends using the Notifications API instead."]]],[]]