Skip to main content
Updates an existing feature. Only the fields you include in the request body will be changed — all other fields remain untouched.

Endpoint

Authentication

string
required
Bearer token with your API key. Requires read_write permission.

Path Parameters

string
required
The project’s URL-friendly slug identifier.
number
required
The feature’s unique ID.

Body Parameters

All fields are optional. Only provided fields are updated.
string
Feature display name.
string
Description of the feature.
number
Base price for this feature. Must be >= 0.
boolean
Whether this feature tracks usage or has limits.
string
One of "Standart", "Limits", or "Usage Based".
number
Default usage count or limit value.
string
Condition label (e.g. "Up to", "Unlimited").
number
Price per unit of usage.
string
How usage events are aggregated (e.g. "count", "sum").

Response

Returns the full updated feature object.

Example

Errors