UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 124 kB
{"openapi":"3.0.0","info":{"contact":{"email":"support@launchdarkly.com","name":"LaunchDarkly Support","url":"https://support.launchdarkly.com","x-twitter":"launchdarkly"},"description":"Build custom integrations with the LaunchDarkly REST API","license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"https://launchdarkly.com/terms","title":"LaunchDarkly REST API","version":"5.3.0","x-apisguru-categories":["developer_tools"],"x-logo":{"url":"https://twitter.com/launchdarkly/profile_image?size=original"},"x-origin":[{"format":"swagger","url":"https://launchdarkly.github.io/ld-openapi/openapi.json","version":"2.0"}],"x-providerName":"launchdarkly.com"},"security":[{"Token":[]}],"paths":{"/":{"get":{"description":"You can issue a GET request to the root resource to find all of the resource categories supported by the API.","operationId":"getRoot","responses":{"200":{"$ref":"#/components/responses/Root200"},"401":{"$ref":"#/components/responses/Standard401"}},"tags":["Root"]}},"/account/relay-auto-configs":{"get":{"operationId":"getRelayProxyConfigs","responses":{"200":{"description":"Relay proxy configs response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelayProxyConfigs"}}}}},"summary":"Returns a list of relay proxy configurations in the account.","tags":["Relay proxy configurations"]},"post":{"operationId":"postRelayAutoConfig","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"description":"A human-friendly name for the relay proxy configuration","example":"My relay proxy config","type":"string"},"policy":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array"}},"type":"object"}}},"description":"Create a new relay proxy configuration","required":true},"responses":{"201":{"description":"Relay proxy config response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelayProxyConfig"}}}},"400":{"$ref":"#/components/responses/Standard400"},"403":{"$ref":"#/components/responses/Standard403"}},"summary":"Create a new relay proxy config.","tags":["Relay proxy configurations"]}},"/account/relay-auto-configs/{id}":{"delete":{"operationId":"deleteRelayProxyConfig","parameters":[{"$ref":"#/components/parameters/RelayProxyConfigId"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"400":{"$ref":"#/components/responses/Standard400"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a relay proxy configuration by ID.","tags":["Relay proxy configurations"]},"get":{"operationId":"getRelayProxyConfig","parameters":[{"$ref":"#/components/parameters/RelayProxyConfigId"}],"responses":{"200":{"$ref":"#/components/responses/RelayProxyConfig2xx"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single relay proxy configuration by ID.","tags":["Relay proxy configurations"]},"patch":{"operationId":"patchRelayProxyConfig","parameters":[{"$ref":"#/components/parameters/RelayProxyConfigId"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"$ref":"#/components/responses/RelayProxyConfig2xx"},"400":{"$ref":"#/components/responses/Standard400"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Modify a relay proxy configuration by ID.","tags":["Relay proxy configurations"]}},"/account/relay-auto-configs/{id}/reset":{"post":{"operationId":"resetRelayProxyConfig","parameters":[{"$ref":"#/components/parameters/RelayProxyConfigId"},{"$ref":"#/components/parameters/RelayProxyConfigsExpiry"}],"responses":{"200":{"$ref":"#/components/responses/RelayProxyConfig2xx"},"400":{"$ref":"#/components/responses/Standard400"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Reset a relay proxy configuration's secret key with an optional expiry time for the old key.","tags":["Relay proxy configurations"]}},"/auditlog":{"get":{"operationId":"getAuditLogEntries","parameters":[{"$ref":"#/components/parameters/Before"},{"$ref":"#/components/parameters/After"},{"$ref":"#/components/parameters/Q"},{"$ref":"#/components/parameters/AuditLimit"},{"$ref":"#/components/parameters/Spec"}],"responses":{"200":{"description":"Audit log entries response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogEntries"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.","tags":["Audit log"]}},"/auditlog/{resourceId}":{"get":{"operationId":"getAuditLogEntry","parameters":[{"$ref":"#/components/parameters/ResourceId"}],"responses":{"200":{"description":"Audit log entry response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogEntry"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Use this endpoint to fetch a single audit log entry by its resouce ID.","tags":["Audit log"]}},"/destinations":{"get":{"operationId":"getDestinations","responses":{"200":{"description":"Destinations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Destinations"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Returns a list of all data export destinations.","tags":["Data export destinations"]}},"/destinations/{projectKey}/{environmentKey}":{"post":{"operationId":"postDestination","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"config":{"description":"destination-specific configuration.","example":{"project":"cool-project","topic":"test"},"type":"object"},"kind":{"description":"The data export destination type. Available choices are kinesis, google-pubsub, mparticle, or segment.","enum":["google-pubsub","kinesis","mparticle","segment"],"example":"google-pubsub","type":"string"},"name":{"description":"A human-readable name for your data export destination.","example":"Example Google Pub/Sub Destination","type":"string"},"on":{"description":"Whether the data export destination is on or not.","example":true,"type":"boolean"}},"required":["name","kind","config"],"type":"object"}}},"description":"Create a new data export destination.","required":true},"responses":{"201":{"$ref":"#/components/responses/Destination2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Create a new data export destination","tags":["Data export destinations"]}},"/destinations/{projectKey}/{environmentKey}/{destinationId}":{"delete":{"operationId":"deleteDestination","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/DestinationId"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single data export destination by ID","tags":["Data export destinations"]},"get":{"operationId":"getDestination","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/DestinationId"}],"responses":{"200":{"$ref":"#/components/responses/Destination2xx"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single data export destination by ID","tags":["Data export destinations"]},"patch":{"operationId":"patchDestination","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/DestinationId"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray"},"responses":{"200":{"$ref":"#/components/responses/Destination2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Perform a partial update to a data export destination.","tags":["Data export destinations"]}},"/flag-status/{projectKey}/{featureFlagKey}":{"get":{"operationId":"getFeatureFlagStatusAcrossEnvironments","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"200":{"description":"Status of the requested feature flag across environments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagStatusAcrossEnvironments"}}}},"401":{"$ref":"#/components/responses/Standard401"},"403":{"$ref":"#/components/responses/BetaApi403"}},"summary":"Get the status for a particular feature flag across environments","tags":["Feature flags"]}},"/flag-statuses/{projectKey}/{environmentKey}":{"get":{"operationId":"getFeatureFlagStatuses","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"responses":{"200":{"description":"List of feature flag statuses.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagStatuses"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.","tags":["Feature flags"]}},"/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey}":{"get":{"operationId":"getFeatureFlagStatus","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"200":{"description":"Status of the requested feature flag.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagStatus"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get the status for a particular feature flag.","tags":["Feature flags"]}},"/flags/{projectKey}":{"get":{"operationId":"getFeatureFlags","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKeyQuery"},{"$ref":"#/components/parameters/SummaryQuery"},{"$ref":"#/components/parameters/ArchivedQuery"},{"$ref":"#/components/parameters/LimitQuery"},{"$ref":"#/components/parameters/OffsetQuery"},{"$ref":"#/components/parameters/FilterQuery"},{"$ref":"#/components/parameters/SortQuery"},{"$ref":"#/components/parameters/Tag"}],"responses":{"200":{"description":"Flags response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlags"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get a list of all features in the given project.","tags":["Feature flags"]},"post":{"operationId":"postFeatureFlag","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/CloneFlagKeyQuery"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"clientSideAvailability":{"$ref":"#/components/schemas/ClientSideAvailability"},"defaults":{"$ref":"#/components/schemas/Defaults"},"description":{"description":"A description of the feature flag.","example":"This flag controls whether test feature is turned on or not.","type":"string"},"includeInSnippet":{"description":"Whether or not this flag should be made available to the client-side JavaScript SDK.","type":"boolean"},"key":{"description":"A unique key that will be used to reference the flag in your code.","example":"new-test-flag","type":"string"},"name":{"description":"A human-friendly name for the feature flag. Remember to note if this flag is intended to be temporary or permanent.","example":"new test flag","type":"string"},"tags":{"description":"Tags for the feature flag.","items":{"example":[],"type":"string"},"type":"array"},"temporary":{"description":"Whether or not the flag is a temporary flag.","type":"boolean"},"variations":{"description":"An array of possible variations for the flag.","items":{"$ref":"#/components/schemas/Variation"},"type":"array"}},"required":["name","key","variations"],"type":"object"}}},"description":"Create a new feature flag.","required":true},"responses":{"201":{"description":"Flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Creates a new feature flag.","tags":["Feature flags"]}},"/flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags":{"get":{"parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"200":{"description":"Dependent flags in a single envrionemnt response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentFlagsByEnvironment"}}}},"401":{"$ref":"#/components/responses/Standard401"},"403":{"$ref":"#/components/responses/BetaApi403"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get dependent flags for the flag in the environment specified in path parameters","tags":["Feature flags"]}},"/flags/{projectKey}/{featureFlagKey}":{"delete":{"operationId":"deleteFeatureFlag","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.","tags":["Feature flags"]},"get":{"operationId":"getFeatureFlag","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKeyQuery"}],"responses":{"200":{"description":"Flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single feature flag by key.","tags":["Feature flags"]},"patch":{"operationId":"patchFeatureFlag","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"example":"This is a comment string","type":"string"},"patch":{"items":{"$ref":"#/components/schemas/PatchOperation"},"type":"array"}},"type":"object"}}},"description":"Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported.","required":true},"responses":{"200":{"description":"Feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Perform a partial update to a feature.","tags":["Feature flags"]}},"/flags/{projectKey}/{featureFlagKey}/copy":{"post":{"operationId":"copyFeatureFlag","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"comment will be included in audit log item for change.","example":"This is a comment string","type":"string"},"excludedActions":{"description":"Define the parts of the flag configuration that will not be copied.","items":{"$ref":"#/components/schemas/CopyActions"},"type":"array"},"includedActions":{"description":"Define the parts of the flag configuration that will be copied.","items":{"$ref":"#/components/schemas/CopyActions"},"type":"array"},"source":{"$ref":"#/components/schemas/FeatureFlagCopyObject"},"target":{"$ref":"#/components/schemas/FeatureFlagCopyObject"}},"type":"object"}}},"description":"Copy feature flag configurations between environments.","required":true},"responses":{"201":{"description":"Flag configuration copy response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlag"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Copies the feature flag configuration from one environment to the same feature flag in another environment.","tags":["Feature flags"]}},"/flags/{projectKey}/{featureFlagKey}/dependent-flags":{"get":{"parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"200":{"description":"Dependent flags accross all environemnts in the project response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiEnvironmentDependentFlags"}}}},"401":{"$ref":"#/components/responses/Standard401"},"403":{"$ref":"#/components/responses/BetaApi403"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get dependent flags across all environments for the flag specified in the path parameters","tags":["Feature flags"]}},"/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey}":{"get":{"operationId":"getExpiringUserTargets","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"responses":{"200":{"description":"User targets of the requested feature flag.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTargetingExpirationForFlags"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get expiring user targets for feature flag","tags":["Feature flags"]},"patch":{"operationId":"patchExpiringUserTargets","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/FeatureFlagKey"}],"requestBody":{"$ref":"#/components/requestBodies/patchExpiringUserTargetsSemanticpatchwithcomment"},"responses":{"200":{"description":"User targeting expirations on feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserTargetingExpirationForFlags"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Update, add, or delete expiring user targets on feature flag","tags":["Feature flags"]}},"/integrations":{"get":{"operationId":"getIntegrations","responses":{"200":{"description":"Integrations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations"}}}},"403":{"$ref":"#/components/responses/BetaApi403"}},"summary":"Get a list of all configured audit log event integrations associated with this account.","tags":["Integrations"]}},"/integrations/{integrationKey}":{"get":{"operationId":"getIntegrationSubscriptions","parameters":[{"$ref":"#/components/parameters/IntegrationKey"}],"responses":{"200":{"description":"Integrations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integration"}}}},"403":{"$ref":"#/components/responses/BetaApi403"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a list of all configured integrations of a given kind.","tags":["Integrations"]},"post":{"operationId":"postIntegrationSubscription","parameters":[{"$ref":"#/components/parameters/IntegrationKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"config":{"description":"Integration-specific configuration fields.","example":{"apiKey":"582**************************116","hostURL":"https://api.datadoghq.com"},"type":"object"},"name":{"description":"A human-readable name for your subscription configuration.","example":"Example Datadog Integration","type":"string"},"on":{"description":"Whether the integration subscription is active or not.","example":true,"type":"boolean"},"statements":{"items":{"$ref":"#/components/schemas/Statement"},"type":"array"},"tags":{"description":"Tags for the integration subscription.","example":[],"items":{"type":"string"},"type":"array"}},"required":["name","config"],"type":"object"}}},"description":"Create a new integration subscription.","required":true},"responses":{"201":{"description":"Integrations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSubscription"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Create a new integration subscription of a given kind.","tags":["Integrations"]}},"/integrations/{integrationKey}/{integrationId}":{"delete":{"operationId":"deleteIntegrationSubscription","parameters":[{"$ref":"#/components/parameters/IntegrationKey"},{"$ref":"#/components/parameters/IntegrationId"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete an integration subscription by ID.","tags":["Integrations"]},"get":{"operationId":"getIntegrationSubscription","parameters":[{"$ref":"#/components/parameters/IntegrationKey"},{"$ref":"#/components/parameters/IntegrationId"}],"responses":{"200":{"description":"Integrations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSubscription"}}}},"403":{"$ref":"#/components/responses/BetaApi403"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single integration subscription by ID.","tags":["Integrations"]},"patch":{"operationId":"patchIntegrationSubscription","parameters":[{"$ref":"#/components/parameters/IntegrationKey"},{"$ref":"#/components/parameters/IntegrationId"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"description":"Integrations response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSubscription"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Modify an integration subscription by ID.","tags":["Integrations"]}},"/members":{"get":{"operationId":"getMembers","parameters":[{"$ref":"#/components/parameters/LimitQuery"},{"$ref":"#/components/parameters/OffsetQuery"},{"$ref":"#/components/parameters/FilterQuery"},{"$ref":"#/components/parameters/SortQuery"}],"responses":{"200":{"description":"Members response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Members"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Returns a list of all members in the account.","tags":["Team members"]},"post":{"operationId":"postMembers","requestBody":{"content":{"application/json":{"schema":{"items":{"properties":{"customRoles":{"items":{"description":"The 20-hexdigit id or the key for a custom role.","example":"revenue-team","type":"string"},"type":"array"},"email":{"example":"exampleuser@email.com","type":"string"},"firstName":{"example":"Bob","type":"string"},"inlineRole":{"items":{"$ref":"#/components/schemas/Statement"},"type":"array"},"lastName":{"example":"Loblaw","type":"string"},"role":{"$ref":"#/components/schemas/Role"}},"required":["email"],"type":"object"},"type":"array"}}},"description":"New members to invite.","required":true},"responses":{"201":{"description":"Members response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Members"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Invite new members.","tags":["Team members"]}},"/members/me":{"get":{"operationId":"getMe","responses":{"200":{"$ref":"#/components/responses/Member2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get the current team member associated with the token","tags":["Team members"]}},"/members/{memberId}":{"delete":{"operationId":"deleteMember","parameters":[{"$ref":"#/components/parameters/MemberId"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a team member by ID.","tags":["Team members"]},"get":{"operationId":"getMember","parameters":[{"$ref":"#/components/parameters/MemberId"}],"responses":{"200":{"$ref":"#/components/responses/Member2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get a single team member by ID.","tags":["Team members"]},"patch":{"operationId":"patchMember","parameters":[{"$ref":"#/components/parameters/MemberId"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"$ref":"#/components/responses/Member2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Modify a team member by ID.","tags":["Team members"]}},"/projects":{"get":{"operationId":"getProjects","responses":{"200":{"description":"Projects response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Projects"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Returns a list of all projects in the account.","tags":["Projects"]},"post":{"operationId":"postProject","requestBody":{"content":{"application/json":{"schema":{"properties":{"defaultClientSideAvailability":{"$ref":"#/components/schemas/ClientSideAvailability"},"environments":{"items":{"$ref":"#/components/schemas/EnvironmentPost"},"minLength":1,"type":"array"},"includeInSnippetByDefault":{"example":false,"type":"boolean"},"key":{"example":"new-project","type":"string"},"name":{"example":"New Project","type":"string"},"tags":{"example":["ops","dev"],"items":{"type":"string"},"type":"array"}},"required":["name","key"],"type":"object"}}},"description":"Project keys must be unique within an account.","required":true},"responses":{"201":{"$ref":"#/components/responses/Project2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Create a new project with the given key and name.","tags":["Projects"]}},"/projects/{projectKey}":{"delete":{"operationId":"deleteProject","parameters":[{"$ref":"#/components/parameters/ProjectKey"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.","tags":["Projects"]},"get":{"operationId":"getProject","parameters":[{"$ref":"#/components/parameters/ProjectKey"}],"responses":{"200":{"$ref":"#/components/responses/Project2xx"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Fetch a single project by key.","tags":["Projects"]},"patch":{"operationId":"patchProject","parameters":[{"$ref":"#/components/parameters/ProjectKey"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"$ref":"#/components/responses/Project2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Modify a project by ID.","tags":["Projects"]}},"/projects/{projectKey}/environments":{"post":{"operationId":"postEnvironment","parameters":[{"$ref":"#/components/parameters/ProjectKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentPost"}}},"description":"New environment.","required":true},"responses":{"201":{"$ref":"#/components/responses/Environment2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Create a new environment in a specified project with a given name, key, and swatch color.","tags":["Environments"]}},"/projects/{projectKey}/environments/{environmentKey}":{"delete":{"operationId":"deleteEnvironment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete an environment in a specific project.","tags":["Environments"]},"get":{"operationId":"getEnvironment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"responses":{"200":{"$ref":"#/components/responses/Environment2xx"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get an environment given a project and key.","tags":["Environments"]},"patch":{"operationId":"patchEnvironment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"$ref":"#/components/responses/Environment2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Modify an environment by ID. If you try to patch the environment by setting both required and requiredApprovalTags, it will result in an error. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates with either mechanism.","tags":["Environments"]}},"/projects/{projectKey}/environments/{environmentKey}/apiKey":{"post":{"operationId":"resetEnvironmentSDKKey","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/EnvironmentSDKKeyExpiry"}],"responses":{"200":{"$ref":"#/components/responses/Environment2xx"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Reset an environment's SDK key with an optional expiry time for the old key.","tags":["Environments"]}},"/projects/{projectKey}/environments/{environmentKey}/mobileKey":{"post":{"operationId":"resetEnvironmentMobileKey","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/EnvironmentMobileKeyExpiry"}],"responses":{"200":{"$ref":"#/components/responses/Environment2xx"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.","tags":["Environments"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests":{"get":{"operationId":"getApprovalRequests","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"responses":{"200":{"description":"Approval requests response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequests"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get all approval requests for a feature flag config","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}":{"delete":{"operationId":"deleteApprovalRequest","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/ApprovalRequestId"}],"requestBody":{"$ref":"#/components/requestBodies/deleteApprovalRequestApprovalrequestconfigbody"},"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete an approval request for a feature flag config","tags":["Feature flags"]},"get":{"operationId":"getApprovalRequest","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ApprovalRequestId"}],"responses":{"200":{"description":"Approval request response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequests"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single approval request for a feature flag config","tags":["Feature flags"]},"post":{"operationId":"postApprovalRequest","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ApprovalRequestId"}],"requestBody":{"$ref":"#/components/requestBodies/deleteApprovalRequestApprovalrequestconfigbody"},"responses":{"200":{"description":"Approval request response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequest"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Create an approval request for a feature flag config","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/apply":{"post":{"operationId":"postApplyApprovalRequest","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ApprovalRequestId"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"comment will be included in audit log item for change.","example":"Applying approved changes","type":"string"}},"type":"object"}}},"description":"Apply an approval request","required":true},"responses":{"200":{"description":"Approval request applied response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequests"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Apply approval request for a feature flag config","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/review":{"post":{"operationId":"postReviewApprovalRequest","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ApprovalRequestId"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"comment will be included in audit log item for change.","example":"This is a comment string","type":"string"},"kind":{"description":"One of approve, decline, or comment.","enum":["approve","decline","comment"],"example":"approve","type":"string"}},"required":["kind"],"type":"object"}}},"description":"Review an approval request","required":true},"responses":{"200":{"description":"Approval request reviewed response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequests"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Review approval request for a feature flag config","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes":{"get":{"operationId":"getFlagConfigScheduledChanges","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"responses":{"200":{"description":"A list of scheduled changes for feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagScheduledChanges"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get all scheduled workflows for a feature flag by key.","tags":["Feature flags"]},"post":{"operationId":"postFlagConfigScheduledChanges","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"Used to describe the scheduled changes.","type":"string"},"executionDate":{"description":"A unix epoch time in milliseconds specifying the date the scheduled changes will be applied","type":"integer"},"instructions":{"$ref":"#/components/schemas/SemanticPatchInstruction"}},"type":"object"}}},"description":"Create scheduled changes on a feature flag.","required":true},"responses":{"201":{"description":"A scheduled change for feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagScheduledChange"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Creates a new scheduled change for a feature flag.","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes-conflicts":{"post":{"operationId":"getFlagConfigScheduledChangesConflicts","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"executionDate":{"description":"A unix epoch time in milliseconds specifying the date the scheduled changes will be applied","type":"integer"},"instructions":{"$ref":"#/components/schemas/SemanticPatchInstruction"}},"type":"object"}}},"description":"Used to determine if a semantic patch will result in conflicts with scheduled changes on a feature flag.","required":true},"responses":{"200":{"description":"Scheduled changes conflict response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagScheduledChangesConflicts"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Lists conflicts between the given instructions and any existing scheduled changes for the feature flag. The actual HTTP verb should be REPORT, not POST.","tags":["Feature flags"]}},"/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId}":{"delete":{"operationId":"deleteFlagConfigScheduledChanges","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ScheduledChangeId"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a scheduled change on a feature flag in an environment.","tags":["Feature flags"]},"get":{"operationId":"getFlagConfigScheduledChange","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ScheduledChangeId"}],"responses":{"200":{"description":"A scheduled change for feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagScheduledChange"}}}},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a scheduled change on a feature flag by id.","tags":["Feature flags"]},"patch":{"operationId":"patchFlagConfigScheduledChange","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/FeatureFlagKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/ScheduledChangeId"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"Used to describe the scheduled changes.","type":"string"},"instructions":{"$ref":"#/components/schemas/SemanticPatchInstruction"}},"type":"object"}}},"description":"Update scheduled changes on a feature flag.","required":true},"responses":{"201":{"description":"A Scheduled change for feature flag response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagScheduledChange"}}}},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Updates an existing scheduled-change on a feature flag in an environment.","tags":["Feature flags"]}},"/roles":{"get":{"operationId":"getCustomRoles","responses":{"200":{"description":"Custom roles response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRoles"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Return a complete list of custom roles.","tags":["Custom roles"]},"post":{"operationId":"postCustomRole","requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the custom role.","example":"Description of revenue team role here","type":"string"},"key":{"description":"The 20-hexdigit id or the key for a custom role.","example":"revenue-team","type":"string"},"name":{"description":"Name of the custom role.","example":"revenue team","type":"string"},"policy":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array"}},"required":["name","key","policy"],"type":"object"}}},"description":"New role or roles to create.","required":true},"responses":{"201":{"$ref":"#/components/responses/CustomRole2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Create a new custom role.","tags":["Custom roles"]}},"/roles/{customRoleKey}":{"delete":{"operationId":"deleteCustomRole","parameters":[{"$ref":"#/components/parameters/CustomRoleKey"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a custom role by key.","tags":["Custom roles"]},"get":{"operationId":"getCustomRole","parameters":[{"$ref":"#/components/parameters/CustomRoleKey"}],"responses":{"200":{"$ref":"#/components/responses/CustomRole2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get one custom role by key.","tags":["Custom roles"]},"patch":{"operationId":"patchCustomRole","parameters":[{"$ref":"#/components/parameters/CustomRoleKey"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray2"},"responses":{"200":{"$ref":"#/components/responses/CustomRole2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Modify a custom role by key.","tags":["Custom roles"]}},"/segments/{projectKey}/{environmentKey}":{"get":{"operationId":"getUserSegments","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/Tag"}],"responses":{"200":{"description":"Segments response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSegments"}}}},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Get a list of all user segments in the given project.","tags":["User segments"]},"post":{"operationId":"postUserSegment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"A description for the user segment.","example":"Users in this segment will have access to beta features.","type":"string"},"key":{"description":"A unique key that will be used to reference the user segment in feature flags.","example":"new-segment","type":"string"},"name":{"description":"A human-friendly name for the user segment.","example":"new segment","type":"string"},"tags":{"description":"Tags for the user segment.","items":{"example":[],"type":"string"},"type":"array"},"unbounded":{"description":"Controls whether this is considered a \"big segment\" which can support an unlimited numbers of users. Include/exclude lists sent with this payload are not used in big segments. Contact your account manager for early access to this feature.","example":false,"type":"boolean"}},"required":["name","key"],"type":"object"}}},"description":"Create a new user segment.","required":true},"responses":{"201":{"$ref":"#/components/responses/UserSegment2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Creates a new user segment.","tags":["User segments"]}},"/segments/{projectKey}/{environmentKey}/{userSegmentKey}":{"delete":{"operationId":"deleteUserSegment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/UserSegmentKey"}],"responses":{"204":{"$ref":"#/components/responses/Standard204"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Delete a user segment.","tags":["User segments"]},"get":{"operationId":"getUserSegment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/UserSegmentKey"}],"responses":{"200":{"$ref":"#/components/responses/UserSegment2xx"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"}},"summary":"Get a single user segment by key.","tags":["User segments"]},"patch":{"operationId":"patchUserSegment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/UserSegmentKey"}],"requestBody":{"$ref":"#/components/requestBodies/PatchOperationArray"},"responses":{"200":{"$ref":"#/components/responses/UserSegment2xx"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"},"404":{"$ref":"#/components/responses/Standard404"},"409":{"$ref":"#/components/responses/Standard409"}},"summary":"Perform a partial update to a user segment.","tags":["User segments"]}},"/segments/{projectKey}/{environmentKey}/{userSegmentKey}/users":{"post":{"operationId":"updateBigSegmentTargets","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/UserSegmentKey"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"excluded":{"$ref":"#/components/schemas/BigSegmentTargetChanges"},"included":{"$ref":"#/components/schemas/BigSegmentTargetChanges"}},"type":"object"}}},"description":"Add or remove user targets to the included or excluded lists on a big segment. Contact your account manager for early access to this feature.","required":true},"responses":{"204":{"$ref":"#/components/responses/Standard204"},"400":{"$ref":"#/components/responses/Standard400"},"401":{"$ref":"#/components/responses/Standard401"}},"summary":"Update targets included or excluded in a big segment","tags":["User segments"]}},"/segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey}":{"get":{"operationId":"getExpiringUserTargetsOnSegment","parameters":[{"$ref":"#/components/parameters/ProjectKey"},{"$ref":"#/components/parameters/EnvironmentKey"},{"$ref":"#/components/parameters/UserSegmentKey"}],"responses":{"200":{"description":"User targeting expiratio