---
title: "Delete an indexed document"
method: DELETE
path: "/v2/index/{name}/documents/{identifier}"
tags: ["Search & Match - Indexing"]
deprecated: true
---

# Delete an indexed document

`DELETE /v2/index/{name}/documents/{identifier}`

> **Deprecated.**

Delete the specified indexed document from the database

## Path parameters

- `name` string, required — Unique index name
- `identifier` string, required — A random string that uniquely identify the resource.

## Response `204`

Delete successful, no content returned

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

[API](https://skmtc.net/affinda/apis/affinda-api.md) · [All operations](https://skmtc.net/affinda/apis/affinda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinda/affinda-api/versions/5f71e092a3e8/schema)
