> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to set up a kill switch for any feature in production

> This video explains how to use LaunchDarkly to create a kill switch that disables a feature in production.

> For the complete documentation index, see [llms.txt](/llms.txt). For the full documentation snapshot, see [llms-full.txt](/llms-full.txt).

## Overview

This video explains how to use LaunchDarkly to create a kill switch. When traffic spikes or an external service fails, you shouldn’t need to redeploy just to stop the bleeding.

This walkthrough demonstrates how to build a kill switch that enables you to shut down flaky endpoints, risky features, or third-party APIs on the fly. The best part? You stay in control—without touching your code.

## How to set up a kill switch for any feature in production

<iframe width="560" height="315" src="https://www.youtube.com/embed/Quimadi3WaM?si=tRQGXT1e0Sr_YBaa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
