List active sessions for a user
GET/api/v1/users/:userId/sessions
Allowed for the user themselves, or an admin.
Request
Responses
- 200
- 401
- 403
Active sessions
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Missing/invalid token, or the caller's role/group is below the required minimum (FORBIDDEN)