provider Metrics (beta) PATCH /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}
@utdk/launchdarkly /api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}
Patch metric group
Patch a metric group by key. Updating a metric group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.
projectKey path required
The project key
string
metricGroupKey path required
The metric group 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.

patchmetricgroup
PATCH/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}
Patch a metric group by key. Updating a metric group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes.

Parameters

required

The project key

required

The metric group key

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.patchmetricgroup()