PUT /admin/notifications/global-variables/{announcement_id}

更新指定ID的全局变量值 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。

通知服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
announcement_id path string 是 全局变量ID

请求体

Schema: service-notification/internal/handler/dto.UpdateGlobalVariableRequest

字段类型必填示例约束描述
value string 是

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-notification/internal/handler/dto.GlobalVariableDetailResponse

字段类型必填示例约束描述
code integer 否
data service-notification/internal/handler/dto.GlobalVariableResponse 否
message string 否
timestamp string 否

service-notification/internal/handler/dto.GlobalVariableResponse

字段类型必填示例约束描述
app_id string 否
id string 否
key string 否
tenant_id string 否
value string 否