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

# Delete documents

> Delete one or more documents/folders (and their children). THIS IS DESTRUCTIVE — only call after confirming with the user.

`delete_documents`

Delete one or more documents/folders (and their children). THIS IS DESTRUCTIVE — only call after confirming with the user.

## Parameters

<ParamField path="documentIds" type="array<string>" required>
  IDs of documents/folders to delete.
</ParamField>

<ParamField path="confirmDelete" type="boolean" required>
  Must be true. Set to true only after you have confirmed with the user.
</ParamField>
