provider Feature flags DELETE /api/v2/flags/{projectKey}/{featureFlagKey}
@utdk/launchdarkly /api/v2/flags/{projectKey}/{featureFlagKey}
Delete feature flag
Delete a feature flag in all environments. Use with caution: only delete feature flags your application no longer uses.
projectKey path required
The project key
string
featureFlagKey path required
The feature flag key. The key identifies the flag in your code.
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.

deletefeatureflag
DELETE/api/v2/flags/{projectKey}/{featureFlagKey}
Delete a feature flag in all environments. Use with caution: only delete feature flags your application no longer uses.

Parameters

required

The project key

required

The feature flag key. The key identifies the flag in your code.

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