Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Wenlien
Contributor II
Contributor II

List of spaces a user has access to

Hi,

I'm looking for a way to retrieve a list of spaces a user has access without looping to the space assignment API  for all spaces from an admin point of view.

Please share your experience or ideas if you have any.

Thanks a lot!

Labels (3)
5 Replies
Ray_Strother
Support
Support

Wenlien
Contributor II
Contributor II
Author

Thank you for replying. We are trying to retrieve the apps which the user has access to in a space, however,  it's not efficient that needs to check the space assignments for all spaces if there are more and more created. We are using API for those operations in the code, and it seems like monitoring application is not something can be used in there.

rankassovitz
Employee
Employee

Hello, you can get the list of spaces using a REST call:
https://<tenant>.<region>.qlikcloud.com/api/v1/spaces 

For more info, see qlik.dev here - https://qlik.dev/apis/rest/spaces/

Wenlien
Contributor II
Contributor II
Author

@rankassovitz Thank you for replying. I can get the spaces from the API as long as I have a way to impersonate the authentication for the user from the admin point of view.

rankassovitz
Employee
Employee

Understood, sorry I missed that part of your question. As far as I know impersonation is till not available, will suggest to post in Ideation or add to an existing request that seems similar, but for different reason.