/api/qmail/db/notifications/dismiss
GET POSTDismiss (soft-delete) a received-tell notification by id.
GET http://localhost:8081/api/qmail/db/notifications/dismiss?id=42
Parameters
| Param | Type | Required | Description |
|---|---|---|---|
id | int | Yes | The notification's tell id (from notifications/list). |
Response
{ "success": true, "message": "Notification dismissed" }Errors
| HTTP | Message |
|---|---|
| 400 | Missing 'id' parameter |
| 400 | Invalid notification id |
| 404 | Notification not found |
| 500 | Failed to dismiss notification |
Example
# GET — easy browser/devtool testing
curl "http://localhost:8081/api/qmail/db/notifications/dismiss?id=42"
# Canonical POST
curl -X POST "http://localhost:8081/api/qmail/db/notifications/dismiss?id=42"Related
- /api/qmail/db/notifications/list — List notifications.