PUT /admin/notifications/event-mappings/{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.UpdateEventMappingRequest
| Field | Type | Required | Example | Constraints | Description |
channel |
string |
No |
|
|
|
is_enabled |
boolean |
No |
|
|
|
priority |
string |
No |
|
|
|
template_code |
string |
No |
|
|
|
Referenced Schemas
dto.EventMappingDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.EventMappingResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.EventMappingResponse
| Field | Type | Required | Example | Constraints | Description |
app_id |
string |
No |
|
|
|
channel |
string |
No |
|
|
|
event_type |
string |
No |
|
|
|
id |
string |
No |
|
|
|
is_enabled |
boolean |
No |
|
|
|
priority |
string |
No |
|
|
|
template_code |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|