GET /admin/mfa/ip-whitelist/{id}
根据ID查询指定的IP白名单规则。需要管理员权限。
MFA `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
实体ID |
Referenced Schemas
dto.IPWhitelistDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.IPWhitelistResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.IPWhitelistResponse
| Field | Type | Required | Example | Constraints | Description |
cidr |
string |
No |
192.168.1.0/24 |
|
|
created_at |
string |
No |
2026-05-15T08:00:00Z |
|
|
enabled |
boolean |
No |
True |
|
|
id |
string |
No |
wl_abc123 |
|
|
label |
string |
No |
office network |
|
|
tenant_id |
string |
No |
tnt_001 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|