Path: / admin / realms / {realm} / users

Query list of users. May pass in query criteria

Path parameters:
realm - realm name (not id!)

Resources
NameDescription
{username}Get represenation of the user

Method Summary
ResourceDescription
POST /admin/realms/{realm}/usersCreate a new user.
GET /admin/realms/{realm}/users?lastName=…&username=…&max=…&search=…&email=…&firstName=…&first=…Query list of users.

Method Detail
HTTP Example:
POST /admin/realms/{realm}/users

Create a new user. Must be a unique username!

Input:
UserRepresentation
Output:
javax.ws.rs.core.Response -
Consumes:
application/json
HTTP Example:
GET /admin/realms/{realm}/users?lastName=…&username=…&max=…&search=…&email=…&firstName=…&first=…

Query list of users. May pass in query criteria

Output:
List<UserRepresentation> -
Query parameters:
lastName
username
max
search - string contained in username, first or last name, or email
email
firstName
first
Produces:
application/json