> ## 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

<View title="Developer" />

<View title="Federal docs" />

<View title="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 project menu. The project menu appears:

<Frame caption="The project menu.">
  <img src="https://mintcdn.com/launchdarkly/A4UXoRTW8ATNw4yq/images/auto/project-menu-dropdown.auto.png?fit=max&auto=format&n=A4UXoRTW8ATNw4yq&q=85&s=cb54f266bfd606cf1c307999121a40cb" alt="The project menu." width="576" height="364" data-path="images/auto/project-menu-dropdown.auto.png" />
</Frame>

2. Select **Project settings**.
3. Select **Environments**. The **Environments** list appears.
4. Click the **three-dot** overflow menu for the environment.
5. Select **Delete environment**. A "Delete environment?" dialog appears.
6. Enter the name or key of your environment in the confirmation field.
7. Click **Delete**.

Your environment is now deleted.

<Card icon="https://mintcdn.com/launchdarkly/YIC2H8XW-fomhquw/assets/icons/openapi-logo.svg?fit=max&auto=format&n=YIC2H8XW-fomhquw&q=85&s=dd9578a9668a86e1a8b8c314921f204c" horizontal width="2500" height="2452" data-path="assets/icons/openapi-logo.svg">
  You can also use the REST API: [Delete environment](/docs/api/environments/delete-environment)
</Card>
