capabilities.work

Delete a feature state from a feature version

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

Get something done

Delete a feature state from a feature version

with Flagsmith · Feature Flag Management
Works with AI assistants

Use Flagsmith: its Flagsmith Feature states API lets you delete a feature state from a feature version in a single step (DELETE /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 remove a feature state from a specific versioned change of a feature?
  • Can I delete a segment or override state inside a draft feature version?
Say it to your AI assistant
  • Delete feature state {id} from version {environment_feature_version_pk} of feature {feature_pk} in environment {environment_pk}.
  • Remove state {id} from feature {feature_pk}'s version {environment_feature_version_pk} in environment {environment_pk}.
For your developer

DELETE /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.