Skip to main content

Delete Notification

Removes a notification, given an item :id.

DELETE /api/v1/client/account/notifications/{notificationId}

Path param

authorization : *bearer
REQUEST BODY SCHEMA: application/json


NameDescriptionRequiredType
notificationIdThe Notification ID Requiredstring

Response

CodeDescription
200deleted sucessfully
409Unauthorized

Response Sample

Content type
application/json

[
{
"statusCode": 200,
"success": true,
"data": [
{
"id": "619c0911b46b424f5f3e470f",
"createdAt": "2020-05-05T00:00:00.000Z",
"updatedAt": "2020-05-05T00:00:00.000Z",
"entity": {},
"title": "Policy created",
"body": "lorem ipsum dolor sit amet",
"status": "unread",
"readAt": "2020-01-01T00:00:00.000Z"
}
]
}
]
...
]