VMware Cloud Community
jason_davis
Enthusiast
Enthusiast
Jump to solution

vRA API to return principals in tenant, not returning all users

I am using the following api

/identity-service/api/tenants/{tenantId}/principals

No matter how many users are in my database, this API only returns a maximum of 101 results, regardless of the filters I am setting.

Is this a known issue?  Are there any workarounds?

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
xian_
Expert
Expert
Jump to solution

Try to add

/identity-service/api/tenants/{tenantId}/principals?page=1&limit=100

/identity-service/api/tenants/{tenantId}/principals?page=2&limit=100

...

View solution in original post

Reply
0 Kudos
2 Replies
xian_
Expert
Expert
Jump to solution

Try to add

/identity-service/api/tenants/{tenantId}/principals?page=1&limit=100

/identity-service/api/tenants/{tenantId}/principals?page=2&limit=100

...

Reply
0 Kudos
jason_davis
Enthusiast
Enthusiast
Jump to solution

Works great.  Thanks so much for the quick reply!

Reply
0 Kudos