I am using below API to query a Okta Group members list, but my group has many users, I just want to query the users list based on the timestamp added into the group. So is it possible to do some sorting parameters in the API query ? for example to query latest 500 members added into the group recently ?
It doesn’t look like this endpoint supports any sorting parameters.
You may be able to get something similar working with some scripting: get the list of all users that are a member of this group, and then sort the list of results, but the user model won’t contain metadata-style information about when the user was added to the group, only information about the user themselves. Maybe sorting by date the user was created would help, if these users were recently created then assigned to the target group?