Notifications
Mark all notifications read
Dashboard JWT only.
POST
/
notifications
/
read-all
Mark all notifications read
curl --request POST \
--url http://localhost:4000/v1/notifications/read-allconst options = {method: 'POST'};
fetch('http://localhost:4000/v1/notifications/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/v1/notifications/read-all"
response = requests.post(url)
print(response.text)Response
All unread notifications marked read
⌘I
Mark all notifications read
curl --request POST \
--url http://localhost:4000/v1/notifications/read-allconst options = {method: 'POST'};
fetch('http://localhost:4000/v1/notifications/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/v1/notifications/read-all"
response = requests.post(url)
print(response.text)