curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users/{userId}/sessions \
--header 'Authorization: Bearer <token>'{
"sessions": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"ipAddress": "<string>",
"userAgent": "<string>",
"revokedAt": "2023-11-07T05:31:56Z"
}
]
}curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users/{userId}/sessions \
--header 'Authorization: Bearer <token>'{
"sessions": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"ipAddress": "<string>",
"userAgent": "<string>",
"revokedAt": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
UUID of the user
36"95b11417-f18f-457f-8804-68e361f9164f"
The number of sessions to return
1 <= x <= 100The number of sessions to skip before starting to collect the result set
x >= 0Successful response with list of sessions
Show child attributes
Was this page helpful?