Skip to main content
DELETE
/
api
/
v2
/
flags
/
{projectKey}
/
{featureFlagKey}
Delete feature flag
curl --request DELETE \
  --url https://app.launchdarkly.com/api/v2/flags/{projectKey}/{featureFlagKey} \
  --header 'Authorization: <api-key>'
{
  "code": "unauthorized",
  "message": "Invalid access token"
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string<string>
required

The project key

featureFlagKey
string<string>
required

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

Response

Action succeeded