GET
/
users
/
{id}
/
sessions
curl --request GET \
  --url https://{tenant_id}.hanko.io/admin/users/{id}/sessions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_agent": "<string>",
    "ip_address": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "last_used": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Path Parameters

id
string
required

UUID of the requested object

Response

200
application/json
OK
id
string
required
user_id
string
required
created_at
string
required
updated_at
string
required
last_used
string
required
user_agent
string
ip_address
string
expires_at
string