Features
Create feature
Changed onUse when defining a new feature or capability to gate or meter (e.g. feature flags or usage-based limits). Ideal for boolean or usage features.
post/features
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/features
- AuthAPI key in header x-api-key
Request body
Example request
{
"meter": {
"event_name": "api_request",
"name": "API Usage Meter"
}
}Response
Created
Example response
{
"meter": {
"created_at": "2024-03-20T15:04:05Z",
"event_name": "api_request",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "API Usage Meter",
"status": "published",
"tenant_id": "tenant123",
"updated_at": "2024-03-20T15:04:05Z"
}
}Changes
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning