Autional Autional
API Reference GitHub autional.com →

PATCH /admin/billing/plans/{plan_id}/feature-gates

Update the FeatureGates list for a specified plan, supporting enable/disable by key. Automatically syncs MFA and SSO boolean fields to plan features.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Plan ID (free/basic/pro/enterprise/platform)

Request Body

Accepts an empty JSON object {}

Responses

StatusDescriptionSchema
200Feature gate update successfuldto.PlanPricingModelDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
403No permissionobject
404Plan not foundobject
500Internal server errorobject

Referenced Schemas

dto.PlanPricingModelDetailResponse

Type: object