mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-12 01:17:04 +02:00
docs: make note of how to remove all segments from a strategy
This commit is contained in:
parent
e4c2e8807d
commit
93b20246a7
@ -236,6 +236,19 @@ payload={{
|
||||
}}
|
||||
/>
|
||||
|
||||
### Remove all segments from an activation strategy
|
||||
|
||||
To remove all segments from an activation strategy, use this endpoint and provide an empty list of `segmentIds`. For instance, the following payload would remove all segments from the strategy "my-strategy".
|
||||
|
||||
``` json
|
||||
{
|
||||
"projectId": "my-project",
|
||||
"strategyId": "my-strategy",
|
||||
"environmentId": "development",
|
||||
"segmentIds": []
|
||||
}
|
||||
```
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Example responses</summary>
|
||||
|
Loading…
Reference in New Issue
Block a user