I have been trying to use api/v1/users endpoint to get the total count of users in the database. Looks like pagination is still the only way, but I am not seeing the link header for the next page. The only links being seen is self, for the current item. I have attempted to inspect the 199th item. Is there any other way currently to get the count, could you please hep?
Every user is a member of the “Everyone” group. You can find the group and see how many members it has:
GET /api/v1/groups?q=Everyone&expand=stats
then look at _embedded.stats.usersCount. see Groups | Okta Developer
Hi folks!
I’m curious if this was useful, particularly in finding the total active user count for an Okta tenant.