A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/notifications/global-variables

创建租户/应用级别的全局变量(如品牌名称、支持邮箱等) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。

通知服务 `bearerAuth` application/json

Request Body

Schema: dto.CreateGlobalVariableRequest

FieldTypeRequiredExampleConstraintsDescription
key string Yes
value string Yes

Responses

StatusDescriptionSchema
201创建成功dto.GlobalVariableDetailResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403权限不足gitee_com_linmes_authms_base_dto.SimpleResponse
404资源未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_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