provider Metrics PATCH
/api/v2/metrics/{projectKey}/{metricKey} @utdk/launchdarkly
/api/v2/metrics/{projectKey}/{metricKey} Update metric
Patch a metric by key. Updating a metric 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
- metricKey path required
- The metric key
- string
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.patchmetric()