Entitlements
Update a feature
Partially update feature fields. Feature type is immutable.
patch/api/v1/features/{feature_id}
Path parameters
feature_idstring MeteroidId required
Example:feat_7n42DGM5Tflk9n8mt7Fhc7
Feature ID
Request body
Example request
{
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Response
Feature updated
Example response
{
"entitlement": {
"feature_id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
"id": "ent_7n42DGM5Tflk9n8mt7Fhc7"
},
"feature_type": {
"metric_id": "bm_7n42DGM5Tflk9n8mt7Fhc7"
},
"id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
"product": {
"id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}
}