Required confirmation
Read time: 2 minutes
Last edited: May 01, 2024
Overview
This topic explains how to use required confirmation for feature flag changes.
Requiring members to confirm that they wish to make changes may help them from changing the wrong flag or segment inadvertently.
When Require confirmation is enabled, members must enter the environment name or key when they make changes from the flags list or segments list in the LaunchDarkly user interface (UI). Confirmation is not required for changes made with the LaunchDarkly API.
When you require confirmation in an environment, members must enter the environment name or key when saving any changes to a flag:
Requiring confirmation
To require confirmation on flag changes in a new environment:
- Navigate to the Account settings page.
- Click the Projects tab.
- Click on the name of the project you want to create a new environment within. The Environments tab appears.
- Click Create environment. The "Create an environment" panel appears.
- Give your environment a human-readable Name.
- Select the Require confirmation for flag and segment changes checkbox:
- Click Save environment.
To learn more, read Create environments.
To require confirmation in an existing environment:
- Navigate to the Account settings page.
- Click the Projects tab.
- Click on the name of the project you want to require comments for. The Environments tab appears.
- Next to the environment you want to edit, click the overflow menu and choose Edit environment. The Edit environment panel appears:
- Select the Require confirmation for flag and segment changes checkbox.
- Click Save environment.
Confirmation of flag changes is now required for your environment.