v1
latestOpenAPI 3.1.02026-08-066984441.1 MBdocuments
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>
delete/documents/{documentId}
Path parameters
documentIdstring uuid required
The id of the document to delete.
Query parameters
alsoDeleteChildrenboolean
Whether to also delete children documents. If false, the children's parent references are updated to point to the deleted document's parent.
Headers
Authorizationstring required
Bearer authentication
Response
No Content
object required