1
0
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:
Thomas Heartman 2022-04-04 11:47:13 +02:00
parent e4c2e8807d
commit 93b20246a7

View File

@ -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>