Edit a feature state inside a draft version
One step with Flagsmith. We can help you get access.
Get something done
Edit a feature state inside a draft version
with Flagsmith
Works with AI assistants
Use Flagsmith: its Flagsmith MCP API lets you edit a feature state inside a draft version in a single step (PUT /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.
- Can I change a feature state that is already part of a draft version?
- How do I toggle a flag inside a version that hasn't been published?
Say it to your AI assistant
- Set feature state {id} in version {environment_feature_version_pk} of feature {feature_pk} in {environment_pk} to value {feature_state_value}.
- Toggle versioned state {id} to {enabled} in version {environment_feature_version_pk}, feature {feature_pk}, env {environment_pk}, value {feature_state_value}.
For your developer
PUT /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/{environment_feature_version_pk}/featurestates/{id}/ in Flagsmith MCP API. Full spec on APIs.io.