DELETE /notifications/{id}
删除指定ID的通知记录(软验证用户ID匹配) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
通知ID |
Request Body
Schema: dto.DeleteNotificationRequest
| Field | Type | Required | Example | Constraints | Description |
notification_id |
string |
Yes |
ntf_abc123 |
|
通知ID |
user_id |
string |
Yes |
usr_abc123 |
|
用户ID |
Referenced Schemas
dto.DeleteNotificationDetailResponse
dto.DeleteNotificationResponse
删除通知结果
| Field | Type | Required | Example | Constraints | Description |
deleted |
boolean |
No |
True |
|
删除成功 |
notification_id |
string |
No |
ntf_abc123 |
|
通知ID |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|