POST /admin/tenants/{id}/app-types
为租户创建自定义应用类型
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: handler.createAppTypeRequest
| Field | Type | Required | Example | Constraints | Description |
code |
string |
Yes |
|
|
|
name |
string |
Yes |
|
|
|
description |
string |
No |
|
|
|
Referenced Schemas
dto.ApplicationTypeDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ApplicationTypeResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ApplicationTypeResponse
| Field | Type | Required | Example | Constraints | Description |
code |
string |
No |
custom-crm |
|
|
created_at |
string |
No |
2026-01-01T00:00:00Z |
|
|
description |
string |
No |
租户自定义应用类型 |
|
|
id |
string |
No |
550e8400-e29b-41d4-a716-446655440000 |
|
|
name |
string |
No |
自定义 CRM |
|
|
tenant_id |
string |
No |
tenant-123 |
|
|
updated_at |
string |
No |
2026-01-01T00:00:00Z |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|