Перейти к основному содержимому

PUT /api/v1/notifications/read-all

Marks all notifications for the authenticated user as read.

Authentication

Required. Bearer token in Authorization header.

Request

No request body required.

Example

curl -X PUT https://intotes.com/api/v1/notifications/read-all \
-H "Authorization: Bearer <access_token>"

Response

200 OK

{
"message": "all notifications marked as read"
}

Errors

StatusCodeDescription
401unauthorizedMissing or invalid authentication token
500internal_errorServer failed to update notifications