> For the complete documentation index, see [llms.txt](https://docs.cortex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cortex.io/ingesting-data-into-cortex/entities-overview/entities/archiving-entities/archiving-entities-manually.md).

# Archiving entities manually

You might want to archive an entity before Cortex does it automatically, e.g. a service you're deprecating. This article covers how to archive and unarchive entities manually, individually or in bulk.

## Archiving an entity via the Cortex UI

Users with the `Archive Entities` permission can archive an entity.

1. From the main sidebar, expand **Catalogs**, then select **All entities**.
2. Do one of the following:
   * Select the **All** tab to search and filter across all of your organization's entities.
   * Select the **Mine** tab to search and filter only the entities you own.
   * Note that Cortex saves your selection and restores it the next time you open this page.
3. Select the entity you want to archive.
4. From the entity's details page, click the **overflow menu icon**.<br>

   <div align="left" data-with-frame="true"><figure><img src="/files/GQN7zYPldC9QUt2u4JSH" alt="The Overflow icon on an entity&#x27;s details page." width="563"><figcaption></figcaption></figure></div>
5. Select **Archive entity**.\
   The **Confirm entity archival** window opens.
6. Click **Archive**.\
   The entity is archived.

{% hint style="warning" %}
When an entity is archived, it no longer appears in the Entities list. Refer to [Displaying archived entities in the Entities list](/ingesting-data-into-cortex/entities-overview/entities/archiving-entities.md#displaying-archived-entities-in-the-entities-list).
{% endhint %}

### **Unarchiving an entity via the Cortex UI**

Users with the `Configure Entities` permission can unarchive an entity.

1. From the main sidebar, expand **Catalogs**, then select **All entities**.
2. Do one of the following:
   * Select the **All** tab to search and filter across all of your organization's entities.
   * Select the **Mine** tab to search and filter only the entities you own.
   * Note that Cortex saves your selection and restores it the next time you open this page.
3. At the top of the list, click **Display**.<br>

   <div align="left" data-with-frame="true"><figure><img src="/files/wOrInpSpB5jFm4lMGcnO" alt="The &#x27;Show archived&#x27; toggle turned on to include archived entities in the list." width="563"><figcaption></figcaption></figure></div>
4. Toggle on **Show archived**.
5. Select the entity from the Entities list.
6. From the entity's details page, click the **overflow menu icon**.<br>

   <div align="left" data-with-frame="true"><figure><img src="/files/lU30RWeZcyhvyHoOlR9g" alt="The Overflow icon on an entity&#x27;s details page." width="563"><figcaption></figcaption></figure></div>
7. Select **Unarchive entity**.\
   The **Confirm entity restoration** window opens.
8. Click **Restore**.\
   The entity is unarchived and moved back into the Entities list.

## Archiving an entity via the Cortex API

Refer to the API documentation on [archiving an entity](/api/readme/catalog-entities.md#put-api-v1-catalog-tagorid-archive) and [unarchiving an entity](/api/readme/catalog-entities.md#put-api-v1-catalog-tagorid-unarchive).
