v4

latestOpenAPI 3.1.0BSD-3-Clauseraw.githubusercontent.com2026-08-0154110202.6 KB
mcp

Creates a new version for a feature flag in a specific environment. Applies to environments with v2 feature versioning (use_v2_feature_versioning: true).

post/api/v1/environments/{environment_pk}/features/{feature_pk}/versions/

Path parameters

environment_pkinteger required
feature_pkinteger required

Request body

created_atstring date-time
updated_atstring date-time
publishedboolean
live_fromstring date-time nullable
uuidstring uuid
is_liveboolean
published_byinteger nullable
created_byinteger nullable
descriptionstring nullable
segment_ids_to_delete_overridesinteger[] nullable

List of segment ids for which the segment overrides will be removed in the new version.

publish_immediatelyboolean

Boolean to confirm whether the new version should be publish immediately or not.

Response

created_atstring date-time
updated_atstring date-time
publishedboolean
live_fromstring date-time nullable
uuidstring uuid
is_liveboolean
published_byinteger nullable
created_byinteger nullable
descriptionstring nullable
segment_ids_to_delete_overridesinteger[] nullable

List of segment ids for which the segment overrides will be removed in the new version.

publish_immediatelyboolean

Boolean to confirm whether the new version should be publish immediately or not.