Skip to content

Commit

Permalink
docs: make note of how to remove all segments from a strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Apr 4, 2022
1 parent e4c2e88 commit 93b2024
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/docs/api/admin/segments.mdx
Expand Up @@ -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>
Expand Down

0 comments on commit 93b2024

Please sign in to comment.