PUT /admin/notifications/global-variables/{announcement_id}
Update the value of a global variable for a specified ID. 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 |
|
|
|
Global Variable ID |
Referenced Schemas
dto.GlobalVariableDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.GlobalVariableResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.GlobalVariableResponse
| Field | Type | Required | Example | Constraints | Description |
app_id |
string |
No |
|
|
|
id |
string |
No |
|
|
|
key |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
value |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|