DELETE /admin/tenants/{id}/departments/{dept_id}
删除指定租户下的某个部门,通常会校验该部门下是否还有成员或子部门
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
dept_id |
path |
string |
Yes |
|
|
|
部门ID |
Referenced Schemas
dto.DataClassification
数据分类项
| Field | Type | Required | Example | Constraints | Description |
color |
string |
No |
#FF0000 |
|
颜色 |
description |
string |
No |
机密数据 |
|
描述 |
label |
string |
No |
机密 |
|
标签 |
level |
string |
No |
confidential |
|
级别 |
dto.DataClassificationDetailResponse
dto.DataClassificationResponse
租户数据分类分级配置
| Field | Type | Required | Example | Constraints | Description |
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
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|