Skip to Content
MosaicMosaicDocs
Tool Reference

MoveToTrash

Delete a document (including a task), or a project (folder) by moving it to the trash, as the Delete action in the app does.

Starter documentation. Features and account details may differ from this deployment.

MoveToTrash

Delete a document (including a task), or a project (folder) by moving it to the trash, as the Delete action in the app does. Trashing a project also trashes everything inside it. Only the item's owner can trash it. Use only when the user explicitly asks to delete an item. Channels, email threads, and calendar events are not deleted with this tool.

Parameters

ParameterTypeRequiredDescription
entityType"document" | "project"YesThe kind of item to move to the trash.
entityIdstringYesThe id of the item to move to the trash.

On this page