Mark all notifications as read.
curl --request POST \
--url https://tryno.io/api/notifications/read-all \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/notifications/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/notifications/read-all"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}notifications
Mark all notifications as read.
POST
/
notifications
/
read-all
Mark all notifications as read.
curl --request POST \
--url https://tryno.io/api/notifications/read-all \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/notifications/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/notifications/read-all"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.
Resposta
Success.
The response is of type object.

