Notification

Mark all notifications as read and delete them

POST
/api/notifications

"Clear all" - marks every notification for the authenticated user as read and removes them from the in-app tray. Idempotent; returns 200 even when there is nothing to clear.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/notifications"
{  "message": "All notifications marked as read and deleted",  "count": 12}