Updates notification preference for the logged-in user.

Updates notification preference for the logged-in user.

Updates notification preference for the logged-in user.

Request
URI
PUT
https://{api_host}/notification-service/api/notifications/userPreference
COPY
Query Parameters
integer
page
Optional

Page Number

integer
limit
Optional

Number of entries per page

string
$orderby
Optional

Multiple comma-separated properties sorted in ascending or descending order

integer
$top
Optional

Sets the number of returned entries from the top of the response (total number per page in relation to skip)

integer
$skip
Optional

Sets how many entries you would like to skip

string
$filter
Optional

Boolean expression for whether a particular entry should be included in the response


Request Body
UserNotificationPreference of type(s) application/json
Required
{
    "locale": "string",
    "version": 0,
    "notificationDeliveryMechanisms": [
        {
            "enabled": false,
            "notificationProvider": {
                "providerMode": {
                    "role": "string",
                    "overriddenGlobalProviderId": "string"
                },
                "name": "string",
                "description": "string",
                "providerDirection": "string",
                "id": "string",
                "type": "string",
                "version": 0
            }
        }
    ]
}
string
locale
Optional

locale

integer As int64 As int64
version
Optional

version

notificationDeliveryMechanisms
Required

notificationDeliveryMechanisms

Responses
200

successful operation

Operation doesn't return any data structure

204
Operation doesn't return any data structure