DELETE /notifications/{notification_id}
删除指定ID的通知记录(软验证用户ID匹配) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
notification_id |
path |
string |
是 |
|
|
|
通知ID |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-notification/internal/handler/dto.DeleteNotificationDetailResponse
service-notification/internal/handler/dto.DeleteNotificationResponse
删除通知结果
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
deleted |
boolean |
否 |
True |
|
删除成功 |
notification_id |
string |
否 |
ntf_abc123 |
|
通知ID |