Method: accounts.deleteNotifications

  • 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.

Clears the pubsub notification settings for the account.

HTTP request

DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name for the notification settings to be cleared.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.