How to fetch ALL Access Profiles in a tenant with a search query?

Thank you, this is probably the best way :smiley:

Is it possible to add roles to indices as well? Like so:

"indices" : ["accessprofiles,roles"]