> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memorylake.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Documents

> Batch remove documents from a project

```
DELETE /openapi/memorylake/api/v1/projects/{id}/documents
```

Removes one or more documents from a project.

<Warning>
  This is a destructive operation. The document associations will be permanently removed.
</Warning>

<Note>
  **Permission required:** [`project:doc_delete`](/features/team-collaboration/permission-reference#remove-a-document-from-a-project) · `instance`
</Note>

### Path Parameters

<ParamField path="id" type="string" required>
  Project ID
</ParamField>

### Request Body

<ParamField body="ids" type="array" required>
  List of project document IDs to remove
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/api/v1/projects/proj-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6/documents' \
    -H 'Authorization: Bearer sk_xxxxxx' \
    -H 'Content-Type: application/json' \
    -d '{
      "ids": ["doc-1234567890abcdef", "doc-abcdef1234567890"]
    }'
  ```
</RequestExample>

### Response

<ResponseField name="success" type="boolean">Indicates if the request was successful</ResponseField>
<ResponseField name="message" type="string">Human-readable status message</ResponseField>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "message": "Documents removed successfully"
  }
  ```
</ResponseExample>
