Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jonashen
Partner - Contributor
Partner - Contributor

Allocate user token via API

Hi

Running Qlik Sense Enterprise and need some help 🙂

I can connect to QRS API from my Python code. Calling /qrs/license/accesstypeoverview gives me an response over available tokens.

And I can create new users via POST to /qrs/user

But I don't know how I can assign a token to my new user?

Anyone that have done it via API calls?

Labels (2)
1 Reply
DaveChannon
Employee
Employee

Hey @jonashen 

As you're using client-managed, I'd actually suggest leveraging the license assignment rules to do the heavy lifting for you. They can access any part of a user property and immediately allocate a license as required.

If you still wish to assign it programmatically, you can use an endpoint such as https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=128... to create the assignment.