Close a notification
Marks the notification as closed so it no longer appears in the open notifications list.
Path Parameters
- Type: integerFormat: int32idrequired
The ID of the notification to close.
Responses
- application/json
- application/json
Request Example for delete/v1/notifications/{id}
curl http://api.mailreach.co/api/v1/notifications/9821 \
--request DELETE \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"id": 9821,
"level": "low",
"event": "ACCOUNT_DISCONNECTED",
"account_id": 1234,
"project_id": 7,
"account_email": "john@acme.com",
"content": "Account needs to be reconnected.",
"domain": "acme.com",
"domain_expire_on": "2027-03-01T00:00:00.000Z"
}