DELETE
/
api
/
notifications
/
{id}
Delete a notification
curl --request DELETE \
  --url http://localhost:3000/api/notifications/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Resource ID

Response

Notification deleted

success
boolean
Example:

true

message
string
data
any