notification_id
in the path and the org_id
in the request body.is_read
) of a notification to true
.org_id
.curl --location -g --request PUT 'https:///v2/api/notification/0' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"org_id": 1
}'
{
"success": true,
"message": "Notification modified successfully.",
"data": {
"id": 40978,
"content": "File Indexed Successfully",
"is_read": true,
"created_on": "2024-10-22T20:34:28.004152Z",
"is_deleted": false,
"recipient": 15,
"org": 1,
"agent": 298
}
}