# ActiveSessions

The ActiveSessions module for UAPI.

## Return active cPanel sessions

 - [GET /ActiveSessions/list_active_sessions](https://api.docs.cpanel.net/specifications/cpanel.openapi/activesessions/activesessions-list_active_sessions.md): This function returns the active cPanel sessions for the current user,
so the account owner can review where their account is currently signed
in and spot a session they do not recognize.

Note:

 This function returns an array, so UAPI's generic api.filter_,
  api.sort_ and api.paginate_ parameters apply, and a
  caller-supplied sort replaces the default ordering of the data
  return value.
* Session addresses are private, so this function is unavailable to demo
  (shared) accounts.

