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

Parameters

documentIds
array<string>
required
IDs of documents/folders to delete.
confirmDelete
boolean
required
Must be true. Set to true only after you have confirmed with the user.