---
title: "Delete index by indexName"
method: DELETE
path: "/api/v2/indexing/{indexName}"
tags: ["IndexV2"]
---

# Delete index by indexName

`DELETE /api/v2/indexing/{indexName}`

## Request

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

This method deletes an existing index in Hawksearch.

## Path parameters

- `indexName` string, required

## 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)
