Hi Michale Cepek,
you are right, documentDelete will delete the whole document and sectionDelete will delete one section of a document.
For additional information you probably need to check the
Postman collection and check the API call for "Documents".
First you need to check the sections of the document with
GET {{ServerUrl}}/{{Platform}}/FileCabinets/{{FileCabinetId}}/Sections?DocId={{DocumentId}}
then you can get the first SectionID and use
DELETE {{ServerUrl}}/{{Platform}}/FileCabinets/{{FileCabinetId}}/Sections/{{SectionId}}
to delete the section.
Regards
Tobias Getz
Team Leader Product Management
DocuWare GmbH