Notification

Mark a single notification as read and delete it

DELETE
/api/notifications/{notificationId}

Dismiss a single notification by id. Returns 404 if the notification does not belong to the calling user.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

notificationId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/notifications/string"
{  "success": true,  "message": "Notification deleted",  "notificationId": "66e0a0b0c0d0e0f0a0b0c0d0"}