Mark a notification as read
curl --request PATCH \
--url https://api.arg.ai/api/notifications/{id}/read \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/notifications/{id}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/notifications/{id}/read', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Notifications
Mark a notification as read
PATCH
/
api
/
notifications
/
{id}
/
read
Mark a notification as read
curl --request PATCH \
--url https://api.arg.ai/api/notifications/{id}/read \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/notifications/{id}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/notifications/{id}/read', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}