Strategies
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.
post/api/admin/segments/strategies
Request body
Example request
{
"projectId": "red-vista",
"strategyId": "15d1e20b-6310-4e17-a0c2-9fb84de3053a",
"environmentId": "development",
"segmentIds": [
1,
5,
6
]
}Response
The resource was successfully created.
Example response
{
"projectId": "red-vista",
"strategyId": "15d1e20b-6310-4e17-a0c2-9fb84de3053a",
"environmentId": "development",
"segmentIds": [
1,
5,
6
]
}