Skip to Content
Xeonr Developer Docs

Update notification preferences

POST
/xmb.api.v1.NotificationService/UpdateNotificationPreferences

Applies changes to the caller's notification preference grid and returns the resulting grid.

Required scopes: xmb:user:write

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

changes?array<>

Only the cells being changed. A change to an UNAVAILABLE cell is an InvalidArgument, not a stored no-op.

Items1 <= items <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationService/UpdateNotificationPreferences" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "categories": [
    "map[adminOnly:false category:NOTIFICATION_CATEGORY_MY_REQUESTS channels:[map[channel:NOTIFICATION_CHANNEL_IN_APP setting:NOTIFICATION_CHANNEL_SETTING_ENABLED] map[channel:NOTIFICATION_CHANNEL_PUSH setting:NOTIFICATION_CHANNEL_SETTING_ENABLED]]]"
  ]
}