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

Managing flag triggers

Read time: 2 minutes
Last edited: Oct 03, 2024

Overview

This topic explains how to disable, reset, and delete flag triggers.

Manage existing flag triggers

You can modify existing triggers from the flag's Settings tab. After you create a trigger, you can disable, reset, or delete it.

To modify an existing trigger:

  1. Navigate to the feature flag for which you wish to edit a trigger.
  2. Click on the three-dot overflow menu for the environment you want to edit a trigger in.
The environment overflow menu.
The environment overflow menu.
  1. Select Configuration in environment. The "Environment configuration" screen appears.
  2. Find the trigger you wish to modify and click the overflow menu. The trigger options appear:
The overflow menu, expanded.
The overflow menu, expanded.
  1. Choose the option you wish from the options menu:
  • Disable trigger: If you choose this option, the trigger configuration is saved but the trigger stops working. To re-enable the trigger, open the overflow menu and choose "Enable trigger."
  • Reset trigger URL: If you choose this option, LaunchDarkly generates a new URL for this trigger. Use this option if you lose a URL for an existing trigger. You must update any clients using this URL to use the new URL. Type the trigger's type and click Reset to confirm.
  • Delete trigger: If you choose this option, the trigger and its URL are deleted permanently. Type the trigger's type and click Delete to confirm.

You can also use the REST API: Update flag trigger, Delete flag trigger