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

Get represenation of the user

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

Resources
NameDescription
logoutRemove all user sessions associated with this user.
remove-totp
reset-passwordSet up a temporary password for this user.
reset-password-emailSend an email to the user with a link they can click to reset their password
role-mappingsGet role mappings for this user
session-statsFor each application with an admin URL, query them for the set of users logged in.
sessionsList set of sessions associated with this user.
social-linksList set of social logins associated with this user.

Method Summary
ResourceDescription
PUT /admin/realms/{realm}/users/{username}Update the user
GET /admin/realms/{realm}/users/{username}Get represenation of the user
DELETE /admin/realms/{realm}/users/{username}delete this user

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

Update the user

Input:
UserRepresentation
Output:
javax.ws.rs.core.Response -
Consumes:
application/json
HTTP Example:
GET /admin/realms/{realm}/users/{username}

Get represenation of the user

Output:
UserRepresentation -
Produces:
application/json
HTTP Example:
DELETE /admin/realms/{realm}/users/{username}

delete this user

Output:
void