Deletes the document with the specified id.
This operation moves the document to the trash.
The document itself is moved to the trash synchronously, while its children and related entities will be moved to the trash asynchronously.
<Check title="Required Permissions" icon="key">The user must have at least `manage` permissions for the specified document.</Check>

