Autional Autional
API Reference GitHub autional.com →

PUT /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.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Plan pricing ID

Request Body

Schema: dto.UpdatePlanRequest

FieldTypeRequiredExampleConstraintsDescription
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

Responses

StatusDescriptionSchema
200Plan updated successfullydto.PlanPricingModelDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
403No permissionobject
404Plan not foundobject
500Internal server errorobject

Referenced Schemas

dto.PlanPricingModelDetailResponse

Type: object