Feature flags (beta)

This feature is in beta

To use this feature, pass in a header including the LD-API-Version key with value set to beta. Use this header with each call. To learn more, read Beta resources.

List dependent feature flags by environment

List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite.

Request
Security:
ApiKey (readwrite)
path Parameters
projKey
required
string <string>

The project key

envKey
required
string <string>

The environment key

flagKey
required
string <string>

The flag key

Responses
200

Dependent flags collection response

401

Invalid access token

403

Forbidden

404

Invalid resource identifier

429

Rate limited

get/api/v2/flags/{projKey}/{envKey}/{flagKey}/dependent-flags
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/flags/:projKey/:envKey/:flagKey/dependent-flags \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "items": [
    ],
  • "_links": {
    },
  • "_site": {
    }
}

List dependent feature flags

List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite.

Request
Security:
ApiKey (readwrite)
path Parameters
projKey
required
string <string>

The project key

flagKey
required
string <string>

The flag key

Responses
200

Multi environment dependent flags collection response

401

Invalid access token

403

Forbidden

404

Invalid resource identifier

429

Rate limited

get/api/v2/flags/{projKey}/{flagKey}/dependent-flags
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/flags/:projKey/:flagKey/dependent-flags \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "items": [
    ],
  • "_links": {
    },
  • "_site": {
    }
}