Notifications Read UPDATE
PUT/v1/notifications/read
Mark notifications as read/unread. If ids are provided, only those notifications are updated. If ids are omitted, all notifications for the current user are updated.
Request
- application/json
Body
required
read boolean
Whether to mark the notifications as read or unread. Defaults to true.
ids double[]
Notification IDs to update. If omitted, all notifications for the user are updated.
Responses
- 200
Ok
- application/json
- Schema
- Example (from schema)
Schema
errors string[]required
ok booleanrequired
{
"errors": [
"string"
],
"ok": true
}
Loading...