delete_document
Deletes a document PERMANENTLY — and its file attachment where applicable. Irreversible: a plain removal from the view without loss is done with update_document({archived: true}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Identifier of the document to delete PERMANENTLY (and its file attachment where applicable). A plain removal from the view is done with update_document({archived: true}). | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |