GET /admin/mfa/ip-whitelist/{ip_whitelist_id}

根据ID查询指定的IP白名单规则。需要管理员权限。

多因素认证 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
ip_whitelist_id path string 是 实体ID

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-mfa/internal/handler/dto.IPWhitelistDetailResponse

字段类型必填示例约束描述
code integer 否
data service-mfa/internal/handler/dto.IPWhitelistResponse 否
message string 否
timestamp string 否

service-mfa/internal/handler/dto.IPWhitelistResponse

字段类型必填示例约束描述
cidr string 否 192.168.1.0/24
created_at string 否 2026-05-15T08:00:00Z
enabled boolean 否 True
id string 否 wl_abc123
label string 否 office network
tenant_id string 否 tnt_001