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

GIVE DOCS FEEDBACK

Required confirmation

Read time: 2 minutes
Last edited: Jun 05, 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. Click the project dropdown. The project menu appears:
The project menu.
The project menu.
  1. Select Environments. The Environments list appears.
  2. Click Create environment. The "Create an environment" panel appears.
  3. Give your environment a human-readable Name.
  4. 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 Create environment.

To learn more, read Create environments.

To require confirmation in an existing environment:

  1. Click the project dropdown. The project menu appears:
The project menu.
The project menu.
  1. Select Environments. The Environments list appears.
  2. 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.