---
title: "Get inactive index"
method: GET
path: "/api/v2/indexing/get-inactive-index"
tags: ["IndexV2"]
---

# Get inactive index

`GET /api/v2/indexing/get-inactive-index`

## Request

- Base URL: `https://indexing-dev.hawksearch.net`
- URL: `https://indexing-dev.hawksearch.net/api/v2/indexing/get-inactive-index`
- Auth: none declared. Required headers: `X-HawkSearch-ApiKey`
- TypeScript: <https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/docs/api/v2/indexing/get-inactive-index/get.ts> (a function with typed inputs; its response is checked against the schema)

This method will return the list of indices that are no longer in use.

## Headers

- `X-HawkSearch-ApiKey` string, required

## Response `200`

OK

- object

---

[API](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) - [All operations](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468?raw)
