We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9552340 commit 4965c69Copy full SHA for 4965c69
README.md
@@ -314,6 +314,16 @@ env = client.environments.find("Production", ws.id)
314
segdef = segment.add_to_environment(env.id)
315
```
316
317
+Remove Rule-Based Segment from environment:
318
+
319
+```python
320
+ws = client.workspaces.find("Defaults")
321
+segment = client.rule_based_segments.find("advanced_users", ws.id)
322
+env = client.environments.find("Production", ws.id)
323
+success = segment.remove_from_environment(env.id)
324
+```
325
326
327
#### Rule-Based Segment Structure
328
329
Rule-based segment definitions support multiple rule types and matching conditions:
0 commit comments