---
title: "Delete item"
method: POST
path: "/api/v2/indexing/delete"
tags: ["IndexV2"]
---

# Delete item

`POST /api/v2/indexing/delete`

## Request

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

Removes a single item from a specific index based on its id

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- DeleteParams: Deleting index item params
  - `IndexName` string: Index used for delete operation
  - `Id` string: Document id

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