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

PUT /admin/tenants/{id}/branding

更新指定租户的品牌定制配置

租户服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 租户ID

Request Body

Schema: dto.UpdateBrandingRequest

FieldTypeRequiredExampleConstraintsDescription
company_name string No 公司名称
custom_css string No 自定义CSS
email_sender_address string No 邮件发送者地址
email_sender_name string No 邮件发送者名称
favicon_url string No https://... Favicon URL
login_page_description string No 登录页描述
login_page_title string No 登录页标题
logo_url string No https://... Logo URL
primary_color string No #0066CC 主题色
privacy_policy_url string No 隐私政策URL
secondary_color string No #F5F5F5 辅助色
terms_of_service_url string No 服务条款URL

Responses

StatusDescriptionSchema
200更新成功dto.BrandingDetailResponse
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.BrandingDetailResponse

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

dto.BrandingResponse

租户品牌定制配置

FieldTypeRequiredExampleConstraintsDescription
company_name string No 公司名称
created_at string No 2026-01-01T00:00:00Z 创建时间
custom_css string No 自定义CSS
email_sender_address string No 邮件发送者地址
email_sender_name string No 邮件发送者名称
favicon_url string No https://... Favicon URL
login_page_description string No 登录页描述
login_page_title string No 登录页标题
logo_url string No https://... Logo URL
primary_color string No #0066CC 主题色
privacy_policy_url string No 隐私政策URL
secondary_color string No #F5F5F5 辅助色
tenant_id string No tnt_abc123 租户ID
terms_of_service_url string No 服务条款URL
updated_at string No 2026-01-01T00:00:00Z 更新时间

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No