v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
notifications

Mark a notification as read

patch/notifications/{notification_id}

Path parameters

notification_idstring required
Example:01910b38-22db-79a1-a766-26b69757e3d2

Request body

is_readboolean required

Example request

{
  "is_read": true
}

Response

Notification updated successfully

statusstring
messagestring
status_codeinteger

Example response

{
  "status": "success",
  "message": "Notification updated successfully",
  "status_code": 200,
  "data": {
    "notification_id": "01910b38-22db-79a1-a766-26b69757e3d2",
    "is_read": true,
    "updated_at": "2024-08-01T06:00:14.011782+01:00"
  }
}