Update strategy segments
Sets the segments of the strategy specified to be exactly the ones passed in the payload. Any segments that were used by the strategy before will be removed if they are not in the provided list of segments.
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Request
updateFeatureStrategySegmentsSchema
projectId
The ID of the project that the strategy belongs to.
strategyId
The ID of the strategy to update segments for.
environmentId
The ID of the strategy environment.
segmentIds
The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy.
Response headers
location
The location of the newly created resource.
Response
The resource was successfully created.
projectId
The ID of the project that the strategy belongs to.
strategyId
The ID of the strategy to update segments for.
environmentId
The ID of the strategy environment.
segmentIds
The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy.