DELETE /notifications/{notification_id}
Delete a notification record by ID (soft validation of user ID match). Reference: CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance.
Notification Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Notification ID |
Request Body
Schema: dto.DeleteNotificationRequest
| Field | Type | Required | Example | Constraints | Description |
notification_id |
string |
Yes |
ntf_abc123 |
|
Notification ID |
user_id |
string |
Yes |
usr_abc123 |
|
User ID |
Referenced Schemas
dto.DeleteNotificationDetailResponse
dto.DeleteNotificationResponse
Delete notification result
| Field | Type | Required | Example | Constraints | Description |
deleted |
boolean |
No |
True |
|
Deleted successfully |
notification_id |
string |
No |
ntf_abc123 |
|
Notification ID |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|