Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

amien
Valued Contributor

Deallocate Qlik Sense Token automatically

Due to all the privacy regulations and policy of the company, i need to deallocate the licence and delete the user, when someone leaves the company. I don't want to do this manually cause of the amount of users.

The user itself i can delete with an API instead of manually in QMC --> Manage Content --> Users. I didn't test this yet, but i'm sure there is an API call for this.

But what about tokens? I couldn't find an API call to do this. Is there even one available? Or is there any other way?

Thanks for helping out.

Btw. .. i'm not looking for a way to by-pass the 7 days limit. Deallocating the token after 7 days is just fine.

1 Solution

Accepted Solutions
Employee
Employee

Re: Deallocate Qlik Sense Token automatically

Get a list of license allocation IDs:

GET /qrs/license/useraccesstype/full

Delete a specific license:

DELETE /qrs/license/useraccesstype/{IDfromAbove}

3 Replies
vve
New Contributor II

Re: Deallocate Qlik Sense Token automatically

Hi Amien,

When you delete a user using QMC or using API, this user's Allocation will automatically be Deallocated.

Regards,

Vijay

Employee
Employee

Re: Deallocate Qlik Sense Token automatically

Get a list of license allocation IDs:

GET /qrs/license/useraccesstype/full

Delete a specific license:

DELETE /qrs/license/useraccesstype/{IDfromAbove}

amien
Valued Contributor

Re: Deallocate Qlik Sense Token automatically

Ofcourse! Thanks again Levi

Community Browser