Update Notification Preferences
Update user preferences
Request
URI
PATCH
https://{api_host}/api/notification/loggedin/user/preferences/categories
COPY
Request Body
NotificationPreferencesUpdateRequest
of type(s)
application/json
Required
{
"categories": [
{
"channels": {
"channels": "string"
},
"name": "string",
"notification_types": [
{
"channels": {
"channels": "string"
},
"name": "string"
}
]
}
]
}
array of
object
categories
Optional
categories
Responses
204
No Content
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
object
messages
Optional
Message of Error
string
type
Optional
type
Code Samples
COPY
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'
Notification Preferences Operations
GET
Get Notification Preferences
PATCH
Update Notification Preferences