Update a feature
Changes a feature. Only the fields you send change. The key never changes. type and metric_id can change until a feature set revision or an override grants the feature; after that they are fixed, because customers hold it as it is. Archive a feature to stop new revisions and overrides from granting it. Secret and trusted tokens may call it; a limited token may not (403).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
key*stringThe feature's key.
The fields to change.
application/json- body
The fields to change. Only the fields you send change. The rules are the same as on create.
key?stringMust be the feature's own key, if sent (400 otherwise). A key never changes; create a new feature for a new key.
name?stringUp to 100 characters.
length <= 100type?stringCan change until the feature is granted (409 with code feature_in_use after). Changing to boolean or number clears metric_id.
"boolean""number""metered"metric_id?stringMetered features only. Can change until the feature is granted (409 with code feature_in_use after).
unit_label?stringUp to 96 characters. An empty string clears it.
length <= 96status?stringArchived keeps the feature with every customer who has it, but no new revision or override can grant it.
"active""archived"Success.
application/json- response
One thing you sell access to: on or off (boolean), a number setting such as seats (number), or a limit on something you count (metered). Your app asks for it by key.
object?stringAlways feature.
feature_id?stringThe id Comecero gives the feature, feat_ plus 32 characters.
key?stringThe key your app checks. 1 to 64 of a-z 0-9 _ . -, unique in the account and mode. Never changes.
name?stringUp to 100 characters, shown in the dashboard.
type?stringHow the feature is granted. Fixed once granted is true.
"boolean""number""metered"metric_id?stringMetered features only. The usage metric that counts it, a sum or latest metric. Left out on other types. Fixed once granted is true.
unit_label?stringUp to 96 characters, for example seat or request. Left out when not set.
status?stringAn archived feature stays with every customer who has it, but no new feature set revision or override can grant it.
"active""archived"granted?booleanTrue once a published feature set revision or an override grants the feature. From then on its type and metric_id never change.
test?booleanTest or live.
date_created?stringWhen the feature was created.
date-timedate_modified?stringWhen the feature last changed.
date-timecurl -X PUT 'https://api.comecero.com/api/v1/features/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "API requests"}'{ "object": "feature", "feature_id": "feat_4f1c2a9e0b7d4c3a8e6f5d2b1a0c9e8d", "key": "api_calls", "name": "API requests", "type": "metered", "metric_id": "met_api_calls", "unit_label": "request", "status": "active", "granted": true, "test": true, "date_created": "2026-11-01T09:00:00Z", "date_modified": "2026-11-12T16:20:00Z"}