Skip to main content
Manage active sessions for the authenticated user. Each login creates a new session. Sessions track the user agent and IP address for security visibility.

List Sessions

Requires a valid Bearer token.
Returns all active (non-expired) sessions for the authenticated user, sorted by most recently used.

Response

array
Array of session objects.
number
Total number of active sessions.

Example


Revoke Session

Requires a valid Bearer token.
Revokes a specific session, logging out that device. You cannot revoke the current session — use the logout endpoint instead.

Path Parameters

string
required
The ID of the session to revoke.

Response

string
Confirmation message.

Errors

Example