Autional Autional
API Reference GitHub autional.com →

PUT /admin/billing/feature-gates/overrides

Create or update a feature gate override at the tenant level (upsert). Overrides take priority over plan default entitlements and can be used to enable/disable specific features on demand. Request body contains gate_key and enabled boolean.

Billing Service - Feature Gates `bearerAuth` application/json

Request Body

Schema: handler.overrideRequest

FieldTypeRequiredExampleConstraintsDescription
gate_key string Yes
enabled boolean No

Responses

StatusDescriptionSchema
200Feature gate override saved successfully, returning all current overrideshandler.overrideResponse
400Invalid request parametersdto.SimpleResponse
401Unauthorizeddto.SimpleResponse
403No permissiondto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

domain.TenantFeatureGateOverride

FieldTypeRequiredExampleConstraintsDescription
created_at string No
enabled boolean No
gate_key string No
id string No
tenant_id string No
updated_at string No
updated_by string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

handler.overrideResponse

FieldTypeRequiredExampleConstraintsDescription
overrides array of

See domain.TenantFeatureGateOverride

No