Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query parameters to User Count endpoint #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamesfoster
Copy link

According to the docs (https://www.keycloak.org/docs-api/17.0/rest-api/index.html#_getuserscount) you can a) specify no query parameters to return the count of all users, b) specify the search query parameter to filter by name email and username, or c) specify a combination of email, firstName, lastName, and username to filter the users matching the parameters specified. Although not explicitly stated, I assume this is the same for the "get users" endpoint (https://www.keycloak.org/docs-api/17.0/rest-api/index.html#_getusers)

In this PR I've simply replicated what was there for the GetUsersAsync method for the query parameters declared in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant