mark notification as read
PATCH
/v1/notifications/{id}
const url = 'https://api.adversarial.com/api/v1/notifications/123';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/notifications/123Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
The ID of the notification to mark as read
Example
123Responses
Section titled “Responses”Notification marked as read
Notification not found