Skip to main content
DELETE /openapi/memorylake/api/v1/projects/{id}/documents
Removes one or more documents from a project.
This is a destructive operation. The document associations will be permanently removed.

Path Parameters

id
string
required
Project ID

Request Body

ids
array
required
List of project document IDs to remove
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"]
  }'

Response

success
boolean
Indicates if the request was successful
message
string
Human-readable status message
{
  "success": true,
  "message": "Documents removed successfully"
}