Pentaho

 View Only

 How do I delete folders and files in my pentaho directory using rest api

  • Pentaho
  • Pentaho
Vignesh JM's profile image
Vignesh JM posted 08-22-2019 09:49

I have created folders and files from the below command,

curl -u admin:password -X PUT http://host:port/pentaho/api/repo/files/:home:mydirectory/createDir

 

Now I need to delete folders/files using rest api. But I have tried n number of commands. Nothing works

 

 


#Pentaho
Johan Hammink's profile image
Johan Hammink
Arnaud Simon's profile image
Arnaud Simon

I checked the documentation, but I can't delete my ressource, do you know the correct syntax to delete a ressource ?

 

PUT command :

http://my_pentaho_server/pentaho/api/repo/files/home:suzy:dossier_test:no_data_report.prpt/delete

 

gives me 500 internal server error