put
https://{host}/notifications/read/all
Mark All Notifications as Read
Marks all notifications as read for the authenticated user. This endpoint is typically used to clear notification badges or update the user's notification state in bulk.
HTTP Method and URL
PUT {{host}}/notifications/read/all
Authentication Requirements
Requires a valid user authentication token. Include the user-token variable in the request headers or as required by your API's authentication scheme.
Request Body
No request body is required for this endpoint.
Example Request
PUT {{host}}/notifications/read/all
Authorization: Bearer {USER-TOKEN}
Example Successful Response
{
"success": true,
"message": "All notifications marked as read."
}
Error Responses
-
401 Unauthorized: Missing or invalid authentication token.
-
500 Internal Server Error: An unexpected error occurred on the server.
Usage Notes
-
This endpoint affects all notifications for the authenticated user.
-
No request body or parameters are needed.
-
Ensure the
user-tokenis valid and has the necessary permissions.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
