notifications

Mark Read

Set read_at on a list of notifications, or all of the user's unread.

Always scopes the UPDATE to user_id = current_user so a malicious client can't clear another user's inbox by guessing notification IDs.

post/notifications/mark-read

Request body

idsstring[] nullable
allboolean
trip_idstring uuid nullable
scopestring nullable
target_idstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.