Deletes a notification by ID.

DELETE
/api/v1/notifications/{notification_id}
AuthorizationBearer <token>

In: header

Path Parameters

notification_idstring

Notification ID

Response Body

curl -X DELETE "https://loading/api/v1/notifications/string"
{
  "data": "Notification deleted successfully",
  "message": "Notification deleted successfully",
  "success": true
}
{
  "data": null,
  "message": "Bad Request",
  "success": false
}
{
  "data": null,
  "message": "Unauthorized",
  "success": false
}
{
  "data": null,
  "message": "Notification not found",
  "success": false
}
{
  "data": null,
  "message": "Internal Server Error",
  "success": false
}