Path: / admin / realms / {realm} / users / {username} / session-stats

For each application with an admin URL, query them for the set of users logged in. This not as reliable as getSessions().

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

Method Summary
ResourceDescription
GET /admin/realms/{realm}/users/{username}/session-statsFor each application with an admin URL, query them for the set of users logged in.

Method Detail
HTTP Example:
GET /admin/realms/{realm}/users/{username}/session-stats

For each application with an admin URL, query them for the set of users logged in. This not as reliable as getSessions().

Output:
Map<String,UserStats> -
Produces:
application/json