Getting total count of users in an Organization
Hello team,
Is there an endpoint to get the total count of users in an organization ?
The endpoint
/v2/users
has a limi set for 1000 records, what is the way to get the total count of users?
TIA6 Replies
i think if you perform the seach users reqeust with the organizaiton id query, and you have more than 1000 users, you should see that in the result in the totalResult number
Thanks @fabienne , although I would want to get the total results independent of the limit and offset I set, example...in current response
For this the response contains
this is directly dependent on the limit I pass....is there a way to get the total users count....(the solution you provided above will not work if I have less than 1000 users right?)
How can I get the count of users presnt in the system any api /logic ?
Hello @fabienne , anything on this ⬆️
Hello @fabienne , is there any workaround for this?
on which version do you run?
we did a fix with the total result recently
self hosted zitadel v2.54.3
can you try to upgrade to a newer version?
👍 , okay thanks