# 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="/files/1beVMgj2Elbbu0vcuhGH" 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="/files/m878TGTe0qxF9f4RC1Sg" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/api-inventory/how-to/deactivate-an-api-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
