provider Segments POST
/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts @utdk/launchdarkly
/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts Update context targets on a big segment
Update context targets included or excluded in a big segment. Big segments include larger list-based segments and synced segments. This operation does not support standard segments.
- projectKey path required
- The project key
- string
- environmentKey path required
- The environment key
- string
- segmentKey path required
- The segment key
- string
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.updatebigsegmentcontexttargets()