Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
How do I delete apps in QMC using Qlik Script or API Engine?
For example:
So what I'd like to do is to use some sort of Qlik script to automatically compare the list (excel) with apps in QMC. If apps that don't exist in the list will be deleted.
Do we have any examples somewhere? I did a bit of research on that and API engine is the recommended tool, but I'm not sure how to do that.
Thank you,
Hey @nguyenqx612 ,
The Qlik Sense Repository API is honestly more suited for this activity. As for the method for doing this, any scripting or programming language can achieve the goal. Here's a code base where I am comparing apps in the QMC vs. what is present on disk: https://github.com/levi-turner/QlikSenseScripts/blob/master/qlik_sense-compare_qmc_vs_disk.ps1
For the actual deletion, it's as simple as DELETE /qrs/app/{id}/delete
Cheers.