/admin/billing/plans/{plan_id}Update an existing plan pricing scheme's name, description, monthly/yearly price, status. Supports partial update; fields not provided retain original values.
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
id |
path |
string |
Yes | Plan pricing ID |
Schema: dto.UpdatePlanRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
audit_log_days |
integer |
No | 90 |
||
description |
string |
No | For large teams |
||
max_api_requests |
integer |
No | 100000 |
||
max_bandwidth_gb |
integer |
No | 1024 |
||
max_storage_gb |
integer |
No | 100 |
||
max_users |
integer |
No | 100 |
||
mfa_enabled |
boolean |
No | True |
||
monthly_price |
number |
No | 499 |
||
name |
string |
No | Professional |
||
sso_enabled |
boolean |
No | True |
||
status |
string |
No | active |
||
support_level |
string |
No | priority |
||
yearly_price |
number |
No | 4999 |
| Status | Description | Schema |
|---|---|---|
| 200 | Plan updated successfully | 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