POST api/2.0/settings/notification This function requires authentication

Description

Enables the notification type specified in the request.

Parameters
Name Description Type Example
Type
sent in body
Notification type (Badges, RoomsActivity, DailyFeed, UsefullTips) ASC.Web.Core.Notify.NotificationType
IsEnabled
sent in body
Specifies if the notification type is enabled or not Bool value true
Example
POST api/2.0/settings/notification
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "IsEnabled": true
}
Returns

Notification settings

Example Response
{
  "status": 0,
  "response": {
    "IsEnabled": true
  }
}