删除pentaho用户和用户文件夹

获取所有用户

http://xxxxxxxx.com:8888/pentaho/api/repo/files/home/children

 

获取单个用户

http://whfxpt.itestcn.com:8888/pentaho/api/repo/files/home/admin/acl

 

返回的全是xml  取<id>标签  为id

删除用户

curl -X PUT -u admin:123456 -d '用户id' http://whfxpt.itestcn.com:8888/pentaho/api/repo/files/delete

 

附带两个kettle 删除用户的脚本

 https://files.cnblogs.com/files/qiaoyihang/fxptjob.zip

posted @ 2017-08-03 20:04  George_sz  Views(444)  Comments(0)    收藏  举报