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

# Archive a Flag

> Learn how to archive a flag when it's no longer needed.

**Archive a Flag**

Learn how to archive a flag when it's no longer needed.

[Do this via the API →](/docs/reference/api/how-to-guides/flags/archive-flag.md)

[Archiving a flag](/docs/capabilities/flags/create-flags.md#archive-flags) prevents clients from resolving and using it.

## Archive a Flag

**1. Go to Confidence, and select Flags on the left sidebar**

**2. Select the flag you want to archive**

**3. Click Archive in the Actions section on the right sidebar**

> [!NOTE]
>
> You must disable or delete all active rules on a flag before you can archive it.

## Related Resources

> **[Create a Flag](/docs/capabilities/flags/create-flag.md)**
>
> Set up a new feature flag

> **[Flags Reference](/docs/capabilities/flags/create-flags.md)**
>
> Learn about flag lifecycle and archiving

> **[Manage Clients](/docs/capabilities/flags/manage-clients.md)**
>
> Configure clients that resolve flags

> **[Archive Flag API](/docs/reference/api/how-to-guides/flags/archive-flag.md)**
>
> API reference for archiving
