Set Read State
POST/api/cloud/2.0/agg/notifications/list/state
Overview
Set the readState
value to READ or UNREAD for the list of notifications specified in the notifIds list in the API body.
This is a per-user query.
Request
- application/json
Body
notifIds string[]
List of notification IDs
readState NotifReadState (string)
Possible values: [READ
, UNREAD
]
Read state of the notification
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
notifIds string[]
List of notification IDs
readState NotifReadState (string)
Possible values: [READ
, UNREAD
]
Read state of the notification
{
"notifIds": [
"string"
],
"readState": "READ"
}
{
"data": {
"notifIds": [
"e8ebd16c-66ab-4113-aa1e-ab274c46322a"
],
"readState": "READ"
},
"requestId": "9e5f8df2-616b-41bc-b928-0f438d715605"
}
Loading...