Skip to main content
Removes documents from a project. The original files in the Library are not affected — only the project references and any extracted content are deleted.
Permission required: project:doc_delete
This is irreversible. All indexed content and memories derived from the deleted documents are permanently removed from the project.

Path Parameters

workspaceId
string
required
Workspace ID that owns the project.
projectId
string
required
Project to delete documents from.

Body Parameters

ids
string[]
required
Array of document IDs to delete.

Response

Returns an empty data object on success.