---
title: "DELETE /indexer-api/v1/update/{indexName}"
method: DELETE
path: "/indexer-api/v1/update/{indexName}"
tags: ["update"]
---

# DELETE /indexer-api/v1/update/{indexName}

`DELETE /indexer-api/v1/update/{indexName}`

Delete existing document. If document does not exist, it returns code 304.

## Path parameters

- `indexName` string, required

## Query parameters

- `id` string

## Response `200`

document deleted

## Other responses

- `304` — document not found
- `404` — index does not exist

## Changes

- **2021-02-09** `2a792e162b0e` — 1 info
  - api operation id `deleteProduct` removed and replaced with `deleteDocument`
- **2020-01-29** `0be3c29195f5` — 1 info
  - the endpoint scheme security `basic-auth` was added to the API
- **2020-01-28** `dc967a44de32` — 3 info
  - api tag `update` added
  - api tag `index` removed
  - added the non-success response with the status `404`
- **2020-01-27** `95fe9768072e` — 1 breaking
  - removed the request body
- **2020-01-24** `96c30bc260ed` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/changes/indexer-api/v1/update/:indexName/delete.md)

---

[API](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api.md) · [All operations](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/commerceexperts/open-commerce-search-stack-api/revisions/2a792e162b0e/schema)
