Deletes a document with the specified id, moving it to the trash section.

The document itself is deleted synchronously, while its children and related entities are deleted asynchronously in the background if is true. If is false, the children’s parent references are updated to point to the deleted document’s parent. <Check> <b>Required Permissions</b>: The user has at least manage permissions for this document.</Check>

Path parameters

documentIdUUIDRequired
The document id.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

alsoDeleteChildrenbooleanOptionalDefaults to true
Whether all children of this document should be deleted.

Response

OK