curl --request PATCH \
--url https://api.example.com/{notificationId}/read{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "mention",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"actorType": "user",
"subjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subjectType": "user",
"locationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationType": "comment",
"metadata": {
"mention": {
"mentionerName": "<string>",
"snippet": "<string>",
"entityType": "portfolio"
},
"add": {},
"edit": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"actor": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"image": "<string>"
},
"readAt": "2023-11-07T05:31:56Z",
"emailSentAt": "2023-11-07T05:31:56Z"
}
}Mark a notification as read for the current user.
curl --request PATCH \
--url https://api.example.com/{notificationId}/read{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "mention",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"actorType": "user",
"subjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subjectType": "user",
"locationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationType": "comment",
"metadata": {
"mention": {
"mentionerName": "<string>",
"snippet": "<string>",
"entityType": "portfolio"
},
"add": {},
"edit": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"actor": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"image": "<string>"
},
"readAt": "2023-11-07T05:31:56Z",
"emailSentAt": "2023-11-07T05:31:56Z"
}
}