No results for ""
EXPAND ALL
  • Home
  • API docs

GIVE DOCS FEEDBACK

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.

Required confirmation is only enforced from the user interface

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:

The "Save changes" dialog with the "Confirm" field called out.
The "Save changes" dialog with the "Confirm" field called out.

Requiring confirmation

To require confirmation on flag changes in a new environment:

  1. Navigate to the Account settings page.
  2. Click the Projects tab.
  3. Click on the name of the project you want to create a new environment within. The Environments tab appears.
  4. Click Create environment. The "Create an environment" panel appears.
  5. Give your environment a human-readable Name.
  6. Select the Require confirmation for flag and segment changes checkbox:
The "Create an environment" panel with the "Require confirmation" checkbox called out.
The "Create an environment" panel with the "Require confirmation" checkbox called out.

  1. Click Save environment.

To learn more, read Create environments.

To require confirmation in an existing environment:

  1. Navigate to the Account settings page.
  2. Click the Projects tab.
  3. Click on the name of the project you want to require comments for. The Environments tab appears.
  4. Next to the environment you want to edit, click the overflow menu and choose Edit environment. The Edit environment panel appears:
The environment overflow menu with the "Edit environment" option called out.
The environment overflow menu with the "Edit environment" option called out.
  1. Select the Require confirmation for flag and segment changes checkbox.
  2. Click Save environment.

Confirmation of flag changes is now required for your environment.