Mark a notification as read

PATCH /notifications/{id}/read

This route allows the user to mark a notification as read.

Path parameters

  • id string(uuid) Required

Responses

  • 200 application/json

    Returns the success message

    Hide response attribute Show response attribute object
    • message string
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

PATCH /notifications/{id}/read
curl \
 --request PATCH 'https://domain.tld/api/v2/notifications/{id}/read' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "Notification marked as read"
}
Response examples (401)
{
  "message": "Unauthorized."
}