Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Request Body

Schema: dto.UpdateOrgChartRequest

FieldTypeRequiredExampleConstraintsDescription
nodes array of

See domain.OrgChartNode

No

Responses

StatusDescriptionSchema
200Update successfuldto.DataClassificationDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
409Resource conflictgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

domain.OrgChartNode

FieldTypeRequiredExampleConstraintsDescription
id string No
name string No
parent_id string No

dto.DataClassification

Data classification item

FieldTypeRequiredExampleConstraintsDescription
color string No #FF0000 Color
description string No Confidential data Description
label string No Confidential Tag
level string No confidential Level

dto.DataClassificationDetailResponse

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

dto.DataClassificationResponse

Tenant data classification configuration

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No