POST /admin/tenants/{tenant_id}/org-chart
Update the organization chart configuration for a specified tenant, supporting batch adjustment of department relationships and display styles
Tenant Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Tenant ID |
Referenced Schemas
domain.OrgChartNode
| Field | Type | Required | Example | Constraints | Description |
id |
string |
No |
|
|
|
name |
string |
No |
|
|
|
parent_id |
string |
No |
|
|
|
dto.DataClassification
Data classification item
| Field | Type | Required | Example | Constraints | Description |
color |
string |
No |
#FF0000 |
|
Color |
description |
string |
No |
Confidential data |
|
Description |
label |
string |
No |
Confidential |
|
Tag |
level |
string |
No |
confidential |
|
Level |
dto.DataClassificationDetailResponse
dto.DataClassificationResponse
Tenant data classification configuration
| Field | Type | Required | Example | Constraints | Description |
classifications |
array of
See dto.DataClassification |
No |
|
|
Classification list |
tenant_id |
string |
No |
tnt_abc123 |
|
Tenant ID |
updated_at |
string |
No |
2026-04-10T14:20:00Z |
|
Update time |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|