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>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
documentId
The id of the document to delete.
Query parameters
alsoDeleteChildren
Whether to also delete children documents. If false, the children's parent references are updated to point to the deleted document's parent.
Response
No Content

