/admin/tenants/{tenant_id}Delete a tenant and all its associated data by ID. This operation is irreversible.
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
id |
path |
string |
Yes | Tenant ID |
| Status | Description | Schema |
|---|---|---|
| 204 | Deleted successfully | |
| 400 | Invalid request parameters | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 401 | Unauthenticated | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 403 | Insufficient permissions | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 404 | Resource not found | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 500 | Internal server error | gitee_com_linmes_authms_base_dto.SimpleResponse |
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |