# Update a feature (/api/features/update-feature)

`PUT https://api.comecero.com/api/v1/features/{key}`

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`).

## Parameters

- `key` (path, required): The feature's key.

Request body: the `feature_update_request` schema.

Responses: 200, 400, 401, 403, 404, 409, 500.

Full schemas: operation `update_feature` in /openapi.json.