I would like to remove files and directories via the REST API. I think I got a basic understanding of how to do it, but I m not sure what I am doing wrong.
This is my API call:
curl -H "Accept: application/xml" -s --noproxy "*" -k -s --basic -u admin:password -X GET "http://localhost:8080/pentaho/plugin/data-access/api/repo/files/tree"
This is what the documentation says:
Retrieve the recursive list of files from root of the repository based on the filters provided.
But I get nothing back.
What I want to do I to get a list of all files and directories, and then I would like to delete everything.
Maybe someone can point me in the right direction.
Thanks and Regards