POST/api/v1/notifications/read

Mark notifications read

Marks some notifications read (ids), or all of them (all: true). Returns how many changed and the new unread count.

Code samples and Try it

Request body

#

application/json, required

  • idsarray of string

    The notifications to mark read. Up to 100 items.

  • allboolean

    true marks every notification read. Default false.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
Did this page help?