Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Log out a user session using Jquery (delete method)

Hi everyone,

I am trying to make a simple example about how to remove a user session, I mean , expire all the sessions form the user. I wanted to create a simple example using Jquery sending my params to the QlikSense server, but I am not able first to understand the QlikSense api explanation. Imagine this case :

    

     $.ajax({ //https://<QPS machine name>:4243/qps/{virtual proxy/}user

    url : 'https://myserver.com/qps/' + $.param({"user":"administrator"}),

    type: 'DELETE',

   // dataType : 'json',

    success: function(data, textStatus, jqXHR)

    {

        //data - response from server

        alert("OK!!");

    },

    error: function (jqXHR, textStatus, errorThrown)

    {

  alert("KO!!!");

    }

  });

Is URL format correct?

Thanks a lot for those that will answer or know how to achieve a solution!

Regards

0 Replies