Overview
Update a feature’s name, display settings, or archive status. The feature type and ID cannot be changed if the feature is in use by customers.Endpoint
Request Body
The unique identifier of the feature to update.Example:
"api-calls", "seats", "credits"The new ID for this feature. Can only be changed if the feature is not being used by any customers.Example:
"api-requests" (renaming from "api-calls")Update the human-readable name displayed in dashboards.Example:
"API Requests" (updating from "API Calls")Update display names for the feature in billing UI.
Archive or unarchive the feature. Archived features are hidden from the dashboard but remain accessible via the API.Set to
true to archive, false to unarchive.Response
Returns the updated feature object.The feature identifier (updated if new_feature_id was provided).
The updated feature name.
Feature type (cannot be changed via update).
Whether the feature is consumable (cannot be changed via update).
The updated archived status.
The updated display settings.
Credit schema (only for credit_system features, cannot be changed via update).
Examples
Update Name and Display
Request
Response
Archive a Feature
Request
Response
Rename Feature ID
Request
Response
Important Notes
Archiving vs DeletingArchive features instead of deleting them when they’re used in products or by customers. Archived features remain functional but are hidden from the dashboard.
Use Cases
Rebrand Feature
Update the feature name and display text to match your evolving product terminology.
Deprecate Feature
Archive old features to hide them from the dashboard while maintaining backward compatibility.
Improve Clarity
Update display names to make billing and usage more clear to customers.
Clean Up
Mark test or experimental features as archived to keep your feature list organized.
Error Responses
Error code identifying the type of error.
Human-readable error message.
Common Errors
feature_not_found- No feature exists with this IDfeature_in_use- Cannot change feature_id because it’s used by customersfeature_id_exists- The new_feature_id is already taken by another featureinvalid_feature_id- Feature ID format is invalidcannot_change_type- Feature type cannot be modified after creationcannot_change_consumable- Consumable property cannot be modified after creation