/admin/billing/plans/{plan_id}/feature-gatesUpdate the FeatureGates list for a specified plan, supporting enable/disable by key. Automatically syncs MFA and SSO boolean fields to plan features.
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
id |
path |
string |
Yes | Plan ID (free/basic/pro/enterprise/platform) |
Accepts an empty JSON object {}
| Status | Description | Schema |
|---|---|---|
| 200 | Feature gate update successful | dto.PlanPricingModelDetailResponse |
| 400 | Invalid request parameters | object |
| 401 | Unauthorized | object |
| 403 | No permission | object |
| 404 | Plan not found | object |
| 500 | Internal server error | object |
Type: object