コンテンツにスキップ

listUserSessions

POST
/auth/admin/list-user-sessions

List user sessions

object
userId
required

The user id

string

List of user sessions

object
sessions
Array<object>
object
expiresAt
date
token
string
createdAt
date
updatedAt
date
ipAddress
string
userAgent
string
userId
string
impersonatedBy
string

Bad Request. Usually due to missing parameters, or invalid parameters.

object
message
required
string

Unauthorized. Due to missing or invalid authentication.

object
message
required
string

Forbidden. You do not have permission to access this resource or to perform this action.

object
message
string

Not Found. The requested resource was not found.

object
message
string

Too Many Requests. You have exceeded the rate limit. Try again later.

object
message
string

Internal Server Error. This is a problem with the server that you cannot fix.

object
message
string