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

# Delete environments

**Developer**

**Federal docs**

**EU docs**

This topic explains how to delete environments in LaunchDarkly.

## Delete environments

You can delete an environment when you are no longer using it. Delete with caution, as deleting an environment is permanent.

To delete an environment:

1. Click the **gear** icon in the left sidebar. The settings page opens.
2. Select **All environments**. The environments list appears.
3. Click the **three-dot** overflow menu for the environment.
4. Select **Delete environment**. A "Delete environment?" dialog appears.
5. Enter the name or key of your environment in the confirmation field.
6. Click **Delete**.

Your environment is now deleted.

> [card]
>
> You can also use the REST API: [Delete environment](https://launchdarkly.com/docs/api/environments/delete-environment.md)
