users

List all active sessions for a user.

Returns an empty list if enhanced session management is not enabled. The enhanced_enabled field indicates whether session tracking is active.

get/admin/v1/users/{user_id}/sessions

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/users/{user_id}/sessions
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

User ID

Response

List of user sessions

current_session_idstring uuid nullable

The session ID of the current request (if authenticated via session cookie). Allows the UI to highlight the current session and warn before self-revocation.

enhanced_enabledboolean required

Whether enhanced session management is enabled. If false, the UI should show a message that session tracking is not enabled.

Changes

No recorded changes to this operation across all 1 revision of this API.