FeatureFlag
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}
Request
- Base URLhttps://api.kameleoon.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}
]
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.