09f2abcea0b5
latestOpenAPI 3.0.32026-07-22177397578.0 KBFeatureFlag
Update a feature flag configuration for a specific environment
Updates the configuration of a feature flag using a JSON Merge Patch for the specified site code, feature key, and environment key. Note: If you need to modify an element within an array, the entire array — including all its fields — must be provided, as partial updates to array elements are not supported.
patch/feature-flags/{siteCode}/{featureKey}/{environmentKey}
Path parameters
siteCodestring required
featureKeystring required
environmentKeystring required
Request body
Example request
{
"rolloutRules": [
{
"release": {
"timeZone": "Europe/Paris"
}
}
]
}Response
OK
Example response
{
"environmentConfigurations": [
{
"rolloutRules": [
{
"release": {
"timeZone": "Europe/Paris"
},
"rollbackConditions": [
{
"matchValue": 50,
"visitors": 1000
}
]
}
]
}
]
}