workos-ruby icon indicating copy to clipboard operation
workos-ruby copied to clipboard

Include total user count in directory group (get/list) response

Open Ayushi3333 opened this issue 2 years ago • 0 comments

For our end users, we want to know the number of users in a directory group before we assign them to teams in our app. Currently, we are having to fetch all the users (using list_users) to obtain the total number which is expensive and makes it easy to go over the rate limit.

We would appreciate if we could get the total user count in a directory group in one or both of the directory group endpoints (list and get).

Ayushi3333 avatar Mar 29 '23 14:03 Ayushi3333