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

GET /admin/tenants/{id}/data-classification

查询指定租户的数据分类分级配置,用于数据安全治理与合规审计

租户服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 租户ID

Responses

StatusDescriptionSchema
200数据分类分级信息dto.DataClassificationDetailResponse
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.DataClassification

数据分类项

FieldTypeRequiredExampleConstraintsDescription
color string No #FF0000 颜色
description string No 机密数据 描述
label string No 机密 标签
level string No confidential 级别

dto.DataClassificationDetailResponse

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

dto.DataClassificationResponse

租户数据分类分级配置

FieldTypeRequiredExampleConstraintsDescription
classifications array of

See dto.DataClassification

No 分类列表
tenant_id string No tnt_abc123 租户ID
updated_at string No 2026-04-10T14:20:00Z 更新时间

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No