Reset environment mobile SDK key

POST
/api/v2/projects/:projectKey/environments/:environmentKey/mobileKey

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.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

Response

Environment response

_idstring

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.

keystring

A project-unique key for the new environment

namestring

A human-friendly name for the new environment

apiKeystring

The SDK key for the environment. Use this for authorization in server-side SDKs.

mobileKeystring

The mobile key for the environment. Use this for authorization in mobile SDKs.

colorstring

The color used to indicate this environment in the UI

defaultTtlinteger

The default time (in minutes) that the PHP SDK can cache feature flag rules locally

secureModeboolean

Ensures that one end user of the client-side SDK cannot inspect the variations for another end user

defaultTrackEventsboolean

Enables tracking detailed information for new flags by default

requireCommentsboolean

Whether members who modify flags and segments through the LaunchDarkly user interface are required to add a comment

confirmChangesboolean

Whether members who modify flags and segments through the LaunchDarkly user interface are required to confirm those changes

tagslist of strings

A list of tags for this environment

criticalboolean

Whether the environment is critical

approvalSettingsobjectOptional

Details on the approval settings for this environment

resourceApprovalSettingsmap from strings to objectsOptional

Details on the approval settings for this environment for each resource kind

Errors

Built with