dambel

دمبل

shevron
ورود | ثبت نام

API Docs / notifications / mark-read



PUT /api/v1/mark-read/{notification-id?}

Marks one or all notifications as read for the authenticated user. If notification-id is omitted, all unread notifications will be marked as read.


Path Parameters

NameTypeRequiredDescriptionExample
notification-idintNoID of the notification to mark as read. If omitted, marks all.123

Response

200 OK

Returns a confirmation message.

Example

{
  "message": "Notifications marked as read"
}

Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube