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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
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
Dave_Channon
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.