Update a strategy
Replace strategy configuration for a feature flag in the specified environment.
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Path parameters
projectId
featureName
environment
strategyId
Request
updateFeatureStrategySchema
name
The name of the strategy type
sortOrder
The order of the strategy in the list in feature environment configuration
constraints
A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints
title
A descriptive title for the strategy
disabled
A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs
parameters
A list of parameters for a strategy
Response
featureStrategySchema
name
The name or type of strategy
id
A uuid for the feature strategy
title
A descriptive title for the strategy
disabled
A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs
featureName
The name or feature the strategy is attached to
sortOrder
The order of the strategy in the list
segments
A list of segment ids attached to the strategy
constraints
A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints
variants
Strategy level variants
parameters
A list of parameters for a strategy