provider Data Export destinations PATCH
/api/v2/destinations/{projectKey}/{environmentKey}/{id} @utdk/launchdarkly
/api/v2/destinations/{projectKey}/{environmentKey}/{id} Update Data Export destination
Update a Data Export destination. Updating a destination uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
- projectKey path required
- The project key
- string
- environmentKey path required
- The environment key
- string
- id path required
- The Data Export destination 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.patchdestination()