private void DeleteUsers_Click(object sender, EventArgs e)
        {
            QRSNTLMWebClient qrsClient;

            qrsClient = new QRSNTLMWebClient("https://usrem-nak002.qliktech.com", 60000);
            var QSReg  = new QlikSenseAlertRegistry();
            var logger = new Logger();

            logger.Start(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) +
                         "\\QlikSenseEmailAdmin\\history");
            logger.SetLogLevel(LogLevel.Debug);
            var qs       = new QlikSenseJSONHelper(QSReg.GetQmcServer(), 60000);
            var UserList = qs.GetDeletedUserList(QsTaskStatus.Failed);

            qrsClient.Delete("/qrs/User/" + UserList[0].id);
        }
 public void Delete(string appid)
 {
     qrsClient.Delete("/qrs/app/" + appid);
 }