# Deactivating and Reactivating API Collections in Akto

Managing your API collections effectively helps ensure optimal performance and control within Akto. Below is a step-by-step guide on how to deactivate and reactivate collections.

### 🔻 Deactivating an API Collection

Deactivating a collection halts data ingestion and testing for that specific collection.

#### Steps:

1. Navigate to **API Collections** in the sidebar under **API Discovery**.
2. Select the checkbox next to the collection you wish to deactivate.
3. Click on **Deactivate collection** at the bottom panel.
4. Confirm the action in the pop-up dialog.

{% hint style="info" %}
Once a collection is deactivated, **all associated APIs will be removed after 1 hour**.
{% endhint %}

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-9ebe5b6d0895df025f27c5f858cff2e8a4af8246%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### 🔁 Reactivating an API Collection

To resume ingestion and testing, you can reactivate a previously deactivated collection.

#### Steps:

1. Go to the **Deactivated** tab in the **API Collections** view.
2. Select the collection(s) you want to reactivate.
3. Click **Reactivate collection** from the bottom panel.
4. Confirm the action in the pop-up dialog.

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-cbed0c7a2d61b6aec7a08f3780303ae10f8e3301%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
