Reset environment SDK key
Reset an environment's SDK key with an optional expiry time for the old key.
Path parameters
projectKey
The project key
environmentKey
The environment key
Headers
Authorization
Query parameters
expiry
The time at which you want the old SDK key to expire, in UNIX milliseconds. By default, the key expires immediately. During the period between this call and the time when the old SDK key expires, both the old SDK key and the new SDK key will work.
Response
Environment response
_links
The location and content type of related resources
_id
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.
key
A project-unique key for the new environment
name
A human-friendly name for the new environment
apiKey
The SDK key for the environment. Use this for authorization in server-side SDKs.
mobileKey
The mobile key for the environment. Use this for authorization in mobile SDKs.
color
The color used to indicate this environment in the UI
defaultTtl
The default time (in minutes) that the PHP SDK can cache feature flag rules locally
secureMode
Ensures that one end user of the client-side SDK cannot inspect the variations for another end user
defaultTrackEvents
Enables tracking detailed information for new flags by default
requireComments
Whether members who modify flags and segments through the LaunchDarkly user interface are required to add a comment
confirmChanges
Whether members who modify flags and segments through the LaunchDarkly user interface are required to confirm those changes
critical
Whether the environment is critical
approvalSettings
Details on the approval settings for this environment
resourceApprovalSettings
Details on the approval settings for this environment for each resource kind