You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**deleteApprovalRequest**](FeatureFlagsApi.md#deleteApprovalRequest) | **DELETE** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId} | Delete an approval request for a feature flag config
9
9
[**deleteFeatureFlag**](FeatureFlagsApi.md#deleteFeatureFlag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
10
10
[**deleteFlagConfigScheduledChanges**](FeatureFlagsApi.md#deleteFlagConfigScheduledChanges) | **DELETE** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId} | Delete a scheduled change on a feature flag in an environment.
11
+
[**flagsProjectKeyEnvironmentKeyFeatureFlagKeyDependentFlagsGet**](FeatureFlagsApi.md#flagsProjectKeyEnvironmentKeyFeatureFlagKeyDependentFlagsGet) | **GET** /flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags | Get dependent flags for the flag in the environment specified in path parameters
12
+
[**flagsProjectKeyFeatureFlagKeyDependentFlagsGet**](FeatureFlagsApi.md#flagsProjectKeyFeatureFlagKeyDependentFlagsGet) | **GET** /flags/{projectKey}/{featureFlagKey}/dependent-flags | Get dependent flags across all environments for the flag specified in the path parameters
11
13
[**getApprovalRequest**](FeatureFlagsApi.md#getApprovalRequest) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId} | Get a single approval request for a feature flag config
12
14
[**getApprovalRequests**](FeatureFlagsApi.md#getApprovalRequests) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Get all approval requests for a feature flag config
13
15
[**getExpiringUserTargets**](FeatureFlagsApi.md#getExpiringUserTargets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
Get dependent flags for the flag in the environment specified in path parameters
274
+
275
+
### Example
276
+
```javascript
277
+
var LaunchDarklyApi =require('launchdarkly-api');
278
+
var defaultClient =LaunchDarklyApi.ApiClient.instance;
279
+
280
+
// Configure API key authorization: Token
281
+
var Token =defaultClient.authentications['Token'];
282
+
Token.apiKey='YOUR API KEY';
283
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
284
+
//Token.apiKeyPrefix = 'Token';
285
+
286
+
var apiInstance =newLaunchDarklyApi.FeatureFlagsApi();
287
+
288
+
var projectKey ="projectKey_example"; // String | The project key, used to tie the flags together under one project so they can be managed together.
289
+
290
+
var environmentKey ="environmentKey_example"; // String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
291
+
292
+
var featureFlagKey ="featureFlagKey_example"; // String | The feature flag's key. The key identifies the flag in your code.
293
+
294
+
295
+
varcallback=function(error, data, response) {
296
+
if (error) {
297
+
console.error(error);
298
+
} else {
299
+
console.log('API called successfully. Returned data: '+ data);
**projectKey** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
310
+
**environmentKey** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
311
+
**featureFlagKey** | **String**| The feature flag's key. The key identifies the flag in your code. |
[**patchExpiringUserTargetsOnSegment**](UserSegmentsApi.md#patchExpiringUserTargetsOnSegment) | **PATCH** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on user segment
12
12
[**patchUserSegment**](UserSegmentsApi.md#patchUserSegment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
13
13
[**postUserSegment**](UserSegmentsApi.md#postUserSegment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
14
-
[**updatedBigSegmentTargets**](UserSegmentsApi.md#updatedBigSegmentTargets) | **POST** /segments/{projectKey}/{environmentKey}/{userSegmentKey}/users | Update targets included or excluded in a big segment
14
+
[**updateBigSegmentTargets**](UserSegmentsApi.md#updateBigSegmentTargets) | **POST** /segments/{projectKey}/{environmentKey}/{userSegmentKey}/users | Update targets included or excluded in a big segment
15
15
16
16
17
17
<aname="deleteUserSegment"></a>
@@ -420,9 +420,9 @@ Name | Type | Description | Notes
0 commit comments