/billing/feature-gates
获取当前认证用户的租户功能开关列表,合并套餐权益与租户级别覆盖
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 功能开关列表查询成功 | handler.featureGateResponse |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 401 | 未授权 | dto.SimpleResponse |
| 500 | 服务器内部错误 | dto.SimpleResponse |
引用的 Schema
billing.FeatureGate
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
description |
string |
否 | 功能描述 | ||
enabled |
boolean |
否 | 当前租户是否启用 | ||
key |
string |
否 | "nhi", "mfa", "sso", "audit_export" | ||
name |
string |
否 | "Non-Human Identities" (展示名) |
dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |
handler.featureGateResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
feature_gates |
array of |
否 |