List Users API Limit


I’m using C# and calling the api to List Users. I want to limit the users that are being returned but it is being ignored and returning all users.

The api call looks like this:

okta.Users.ListUsers(limit: 10).ToArrayAsync();

Any help?

The limit is used to control how many users are returned per page of results, but the SDK is designed to handle pagination for you and will return all matching users. You can configure it for manual pagination instead, as described here: GitHub - okta/okta-sdk-dotnet: A new repository.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.