Skip to main content

Mark notifications as read

POST <your-unleash-url>/api/admin/notifications/read

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Allow to select which notifications were read and saving a read date

Request

Body

required

markNotificationsAsReadSchema

  • notifications integer[] required

    A list of IDs belonging to the notifications you want to mark as read.

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
Body required
{
"notifications": [
5
]
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/notifications/read' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"notifications": [
5
]
}'