Regarding the delete method of an entry, the docs state that for a folder the contents will be deleted, too:
However, I’m getting the following error:
It’s a folder inside the plugin data folder, so permission shouldn’t be an issue.
Edit: This error even comes when the folder is empty