Mark all notifications as read for the current user
PATCH
/v1/notifications
const url = 'https://api.adversarial.com/api/v1/notifications';const options = {method: 'PATCH'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.adversarial.com/api/v1/notificationsResponses
Section titled “Responses”All notifications marked as read
Unauthorized