provider Releases (beta) PUT /api/v2/projects/{projectKey}/flags/{flagKey}/release
@utdk/launchdarkly /api/v2/projects/{projectKey}/flags/{flagKey}/release
Create a new release for flag
Creates a release by adding a flag to a release pipeline
projectKey path required
The project key
string
flagKey path required
The flag 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.

createreleaseforflag
PUT/api/v2/projects/{projectKey}/flags/{flagKey}/release
Creates a release by adding a flag to a release pipeline

Parameters

required

The project key

required

The flag key

Input

The variation id to release to across all phases

required

The key of the release pipeline to attach the flag to

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.createreleaseforflag()