Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Global Variable ID

Request Body

Schema: dto.UpdateGlobalVariableRequest

FieldTypeRequiredExampleConstraintsDescription
value string Yes

Responses

StatusDescriptionSchema
200Updated successfullydto.GlobalVariableDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Resource not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.GlobalVariableDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.GlobalVariableResponse No
message string No
timestamp string No

dto.GlobalVariableResponse

FieldTypeRequiredExampleConstraintsDescription
app_id string No
id string No
key string No
tenant_id string No
value string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No