Skip to main content
POST
/
v1
/
atlas
/
notifications
/
notifications
/
inbox
/
read-all
Mark all as read
const options = {method: 'POST'};

fetch('http://localhost:4010/v1/atlas/notifications/notifications/inbox/read-all', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "markedCount": 123
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Response

All marked as read

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required