DELETE /admin/tenants/{tenant_id}/departments/{dept_id}
Delete a department under a specified tenant, typically verifying that the department has no remaining members or sub-departments
Tenant Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Tenant ID |
dept_id |
path |
string |
Yes |
|
|
|
Department ID |
Referenced Schemas
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 |
|
|
|