POST /admin/tenants/{id}/applications
在指定租户下创建新应用
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: dto.CreateApplicationRequest
| Field | Type | Required | Example | Constraints | Description |
name |
string |
Yes |
My Application |
|
|
admin_url |
string |
No |
|
|
|
category |
string |
No |
|
|
|
code |
string |
No |
my-app |
|
|
description |
string |
No |
A custom application |
|
|
entry_url |
string |
No |
|
|
|
icon_url |
string |
No |
|
|
|
is_default |
boolean |
No |
|
|
|
logo_url |
string |
No |
|
|
|
max_concurrent_sessions |
integer |
No |
|
|
|
max_users |
integer |
No |
|
|
|
order |
integer |
No |
|
|
|
require_mfa |
boolean |
No |
|
|
|
session_timeout |
integer |
No |
|
|
|
type |
string |
No |
custom |
|
|
version |
string |
No |
|
|
|
Referenced Schemas
dto.ApplicationDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ApplicationResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ApplicationResponse
应用详情
| Field | Type | Required | Example | Constraints | Description |
admin_url |
string |
No |
|
|
|
category |
string |
No |
|
|
|
code |
string |
No |
my-app |
|
|
created_at |
string |
No |
|
|
|
description |
string |
No |
|
|
|
entry_url |
string |
No |
|
|
|
icon_url |
string |
No |
|
|
|
id |
string |
No |
app_abc123 |
|
|
is_default |
boolean |
No |
|
|
|
is_system |
boolean |
No |
|
|
|
logo_url |
string |
No |
|
|
|
max_concurrent_sessions |
integer |
No |
|
|
|
max_users |
integer |
No |
|
|
|
name |
string |
No |
My Application |
|
|
order |
integer |
No |
|
|
|
require_mfa |
boolean |
No |
|
|
|
session_timeout |
integer |
No |
|
|
|
status |
string |
No |
active |
|
|
tenant_id |
string |
No |
tnt_abc123 |
|
|
type |
string |
No |
custom |
|
|
updated_at |
string |
No |
|
|
|
version |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|