Deleting Document and Folder through the API

The API to edit files (endpoint https://dynalist.io/api/v1/file/edit) is quite similar to the API to edit document (endpoint https://dynalist.io/api/v1/doc/edit), in the sense that both takes as input an array of changes to perform. Each change has an action type.
However the edit document API supports the action “delete”, while the edit file API does not. To be more clear, I did not find a solution yet to delete folder and files through the API.
Is it something that could be implemented?