Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
NZFei
Partner - Specialist
Partner - Specialist

How to load users more than 20 in Qlik cloud using REST connector

Hi,

I can set up a REST connector in Qlik cloud to load users from https://your-tenant.us.qlikcloud.com/api/v1/users.

However the default the lines is only 20. So I can only load 20 users. 

Could anyone let me know how to set up the pagination or modify limit so that I can load full user list?

 

Thank you very much!

 

Fei

 

Labels (2)
1 Solution

Accepted Solutions
Daniele_Purrone
Support
Support

Hi @NZFei ,

you can add 

?limit=100

to the URL (e.g. https://your-tenant.us.qlikcloud.com/api/v1/users?limit=100 )

100 is the maximum number. If you have more users, you will need to build some logic in the script.

For instance, you can check the userId of the latest user that was loaded, and then add

limit=100&startingAfter=userId

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
Daniele_Purrone
Support
Support

Hi @NZFei ,

you can add 

?limit=100

to the URL (e.g. https://your-tenant.us.qlikcloud.com/api/v1/users?limit=100 )

100 is the maximum number. If you have more users, you will need to build some logic in the script.

For instance, you can check the userId of the latest user that was loaded, and then add

limit=100&startingAfter=userId

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
NZFei
Partner - Specialist
Partner - Specialist
Author

Excellent, thank you so much!