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

descriptionstring nullable

Three-state: missing leaves unchanged, null clears, value sets.

namestring nullable
product_idstring MeteroidId

Example request

{
  "product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}

Response

Feature updated

created_atstring date-time required
descriptionstring nullable
idstring MeteroidId required
namestring required
status'ACTIVE' | 'DISABLED' | 'ARCHIVED' required

Lifecycle status of a feature.

Example response

{
  "entitlement": {
    "feature_id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
    "id": "ent_7n42DGM5Tflk9n8mt7Fhc7"
  },
  "feature_type": {
    "metric_id": "bm_7n42DGM5Tflk9n8mt7Fhc7"
  },
  "id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
  "product": {
    "id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
  }
}

Changes