Change notification read status.

PUT /data/user/notifications/{notification_id}

Path parameters

  • notification_id string(uuid) Required
application/x-www-form-urlencoded

Body Required

  • read boolean

    Mark notification as read/unread

Responses

  • 200 application/json

    Updated notification

  • 404

    Notification not found

PUT /data/user/notifications/{notification_id}
curl \
 --request PUT 'http://api.example.com/data/user/notifications/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'read=true'
Response examples (200)
{}