Get active, inactive and pending users in one API call

List users API only return active or inactive at a time.

There should be an option for “status=all”. The benefits are

  1. Avoiding 3 separate calls to get aggregated data.
  2. Products which have tasks for aggregations of user data doesn’t provide the out of box functionality to make 3 different calls to get complete data. In this case we have to write a lot of custom code and merge the result which is a big pain. This would be just solved if we could provide an option to get all( active, inactive and pending users) users in one go.
  1. Active : /users?status=active
  2. Inactive: /users?status=inactive
  3. Inactive: /users?status=pending
  4. default: /users

default should return all users.

1 Like

This is a wonderful Idea, any update on this zoom?

1 Like