---
title: "Delete documents from a managed index"
method: DELETE
path: "/v1/rag/managed_indexes/{index_name}/documents"
tags: ["beta.rag.managed_indexes"]
---

# Delete documents from a managed index

`DELETE /v1/rag/managed_indexes/{index_name}/documents`

Deletes the given documents by id. Returns the ids actually removed and, in `missing`, any requested ids that were not present.

## Path parameters

- `index_name` string, required

## Request body

- DeleteDocumentsRequest
  - `document_ids` string[], required

## Response `200`

Successful Response

- DeleteDocumentsResponse
  - `deleted_document_ids` string[], required
  - `missing` string[], required

## Other responses

- `404` — Index not found
- `409` — Index is not ready for ingestion
- `422` — Validation Error

## Changes

- **2026-09-23** `fa73befe1c61` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/rag/managed_indexes/:index_name/documents/delete.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/fa73befe1c61?raw)
