> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Batch Deletes Documents from a DocumentCollection by UUID

POST https://api.getzep.com/api/v2/collections/{collectionName}/documents/batchDelete
Content-Type: application/json

Deletes specified Documents from a DocumentCollection.

Reference: https://docs-beta.getzep.com/v2/sdk-reference/deprecated/document/batch-delete-documents

## Request

### Path parameters

- `collectionName` (string, required) — Name of the Document Collection

### Body (application/json)

This endpoint expects a list of string.

- `list of string`

## Response

### 200

OK

- `message` (string, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 401 Unauthorized Error

Unauthorized

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Examples

**Request**

```json
[
  "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "7c9e6679-7425-40de-944b-e07fc1f90ae7"
]
```

**Response**

```json
{
  "message": "Successfully deleted 2 documents from the collection."
}
```