Approval settings
The
approvalSettings
key is only returned when the flag approvals feature is enabled.You cannot update approval settings when creating new environments. Update approval settings with the [https://launchdarkly.com/docs/api/environments/patch-environment).
Create a new environment in a specified project with a given name, key, swatch color, and default TTL.
The project key
A human-friendly name for the new environment
A project-unique key for the new environment
A color to indicate this environment in the UI
The default time (in minutes) that the PHP SDK can cache feature flag rules locally
Ensures that one end user of the client-side SDK cannot inspect the variations for another end user
Enables tracking detailed information for new flags by default
Requires confirmation for all flag and segment changes via the UI in this environment
Requires comments for all flag and segment changes via the UI in this environment
Indicates that the new environment created will be cloned from the provided source environment
Whether the environment is critical
Environment response
The location and content type of related resources
The ID for the environment. Use this as the client-side ID for authorization in some client-side SDKs, and to associate LaunchDarkly environments with CDN integrations in edge SDKs.
A project-unique key for the new environment
A human-friendly name for the new environment
The SDK key for the environment. Use this for authorization in server-side SDKs.
The mobile key for the environment. Use this for authorization in mobile SDKs.
The color used to indicate this environment in the UI
The default time (in minutes) that the PHP SDK can cache feature flag rules locally
Ensures that one end user of the client-side SDK cannot inspect the variations for another end user
Enables tracking detailed information for new flags by default
Whether members who modify flags and segments through the LaunchDarkly user interface are required to add a comment
Whether members who modify flags and segments through the LaunchDarkly user interface are required to confirm those changes
Whether the environment is critical
Details on the approval settings for this environment
Details on the approval settings for this environment for each resource kind