capabilities.work

Edit a feature state inside a feature version

One step with Flagsmith. We can help you get access.

Get something done

Edit a feature state inside a feature version

with Flagsmith · Feature Flag Management
Works with AI assistants

Use Flagsmith: its Flagsmith Feature states API lets you edit a feature state inside a feature version in a single step (PATCH /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/{environment_feature_version_pk}/featurestates/{id}/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I change the value of a feature state within a versioned feature change?
  • Can I enable a flag inside a draft version before publishing it?
Say it to your AI assistant
  • In version {environment_feature_version_pk} of feature {feature_pk} in environment {environment_pk}, set state {id} value to {feature_state_value}.
  • Enable state {id} in feature {feature_pk} version {environment_feature_version_pk} for environment {environment_pk}.
For your developer

PATCH /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/{environment_feature_version_pk}/featurestates/{id}/ in Flagsmith Feature states API. Full spec on APIs.io.