This topic explains how to create, edit, and delete applications. An application is a LaunchDarkly resource that describes what you are delivering to a customer.
LaunchDarkly automatically creates applications when it establishes a connection with a LaunchDarkly SDK that contains application information. You can edit and delete applications from the Applications list in the LaunchDarkly user interface (UI).
For a list of SDKs that support applications, read the SDK configuration topic.
LaunchDarkly automatically creates new applications when it establishes a connection with a LaunchDarkly SDK that supports Application metadata configuration.
We strongly recommend also enabling automatic environment attribute collection as part of your SDK configuration. When this configuration is enabled, you can create mobile targeting rules for your feature flag based on the application information. The SDK provides data on the mobile environment where an application is running, including the application name and id. The SDK includes this data in the ld_application and ld_device contexts. To learn more, read Automatic environment attributes.
After the SDK has evaluated at least one feature flag using an ld_application context, you can create mobile targeting rules based on application and application version information in that context. To learn more, read Mobile targeting.
You can only create a “Mobile” targeting rule, and target mobile apps and devices based on automatically collected application information, if you have completed the following:
ld_application and ld_device context kinds. LaunchDarkly must receive these context kinds before it enables the option to create a mobile targeting rule. To learn more, read Automatic environment attributes.To edit an existing application:
You can also use the REST API: Update application
To delete an existing application:
You can also use the REST API: Delete application