---
title: "DELETE /update/{indexName}"
method: DELETE
path: "/update/{indexName}"
tags: ["index"]
---

# DELETE /update/{indexName}

`DELETE /update/{indexName}`

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

## Path parameters

- `indexName` string, required

## Query parameters

- `id` string

## Request body

- … — unresolved $ref; see the full OpenAPI document linked below

## Response `200`

document deleted

## Other responses

- `304` — document not found

## Changes

- **2020-01-23** `290add1113ff` — 2 breaking, 4 info
  - added the new path request parameter `indexName`
  - removed the media type `*/*` from the request body
  - api tag `index` added
  - added the new optional `query` request parameter `id`
  - …2 more
- **2020-01-03** `5e91e5c71711` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/commerceexperts/apis/open-commerce-search-stack-api/changes/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/290add1113ff/schema)
