Skip to main content
PUT
Set Notify Prefs

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json

Event keys to switch off. Unknown and unswitchable keys are ignored.

disabled
string[]

响应

Successful Response

Which notifications reach this person.

Sent as the full list with each one's state rather than as the stored disabled-set, so the console renders exactly what the server offers and a console of a different age cannot show a switch that does nothing.

events
NotifyEventOut · object[]