AlphaAlpha Docs
API ReferenceNotification settings

Update notification settings for a specific user (admin)

PUT
/notifications/settings/{tenantId}/{userId}
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string
userId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/notifications/settings/string/string" \  -H "Content-Type: application/json" \  -d '{    "digestFrequency": "OFF",    "disabledScopes": [      "string"    ],    "enabledCategories": [      "ERP"    ],    "inAppNotificationSoundEnabled": true,    "inAppNotificationsEnabled": true  }'
{
  "digestFrequency": "OFF",
  "disabledEmailScopes": [
    "string"
  ],
  "disabledInAppScopes": [
    "string"
  ],
  "disabledPushScopes": [
    "string"
  ],
  "disabledScopes": [
    "string"
  ],
  "enabledCategories": [
    "ERP"
  ],
  "id": "string",
  "inAppNotificationSoundEnabled": true,
  "inAppNotificationsEnabled": true,
  "pushNotificationsEnabled": true,
  "userId": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}