Skip to main content
POST
/
api
/
notifications
Mark all notifications as read and delete them
curl --request POST \
  --url https://your-instance.example.com/api/notifications \
  --header 'Authorization: Bearer <token>'
{
  "message": "All notifications marked as read and deleted",
  "count": 12
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

All notifications deleted

message
string
required
count
integer

Number of notifications deleted. Omitted when there were no notifications to delete.