DELETE /admin/tenants/{tenant_id}/departments/{dept_id}
删除指定租户下的某个部门,通常会校验该部门下是否还有成员或子部门
租户服务 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
tenant_id |
path |
string |
是 |
|
|
|
租户ID |
dept_id |
path |
string |
是 |
|
|
|
部门ID |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-tenant/internal/handler/dto.DataClassification
数据分类项
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
color |
string |
否 |
#FF0000 |
|
颜色 |
description |
string |
否 |
机密数据 |
|
描述 |
label |
string |
否 |
机密 |
|
标签 |
level |
string |
否 |
confidential |
|
级别 |
service-tenant/internal/handler/dto.DataClassificationDetailResponse
service-tenant/internal/handler/dto.DataClassificationResponse
租户数据分类分级配置