provider Flag links (beta) PATCH
/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id} @utdk/launchdarkly
/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id} Update flag link
Update a flag link. Updating a flag link uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
- projectKey path required
- The project key
- string
- featureFlagKey path required
- The feature flag key
- string
- id path required
- The flag link ID
- 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.updateflaglink()