Represents the user session associated with a flow. You can read all sessions, read a single session, or delete a single session associated with your user ID. Administrators can read all sessions for a specified user, read a single session for a specified user, or delete a user’s session for the environment or population for which they have administrator privileges.

Sessions data model

Property Description
id A string that specifies the resource’s unique identifier.
environment.id
user.id
createdAt The time the resource was created.
activeAt The last user activity time on this session (such as, completing a flow, or an application activity like validating a token).
locations Only the last 5 locations are maintained.
location.at The last time the user signed on.
location.remoteIp The IP address of the remote device used during the last sign-on.
location.city The city resolved from the IP address.
location.state The state resolved from the IP address.
location.region The region resolved from the IP address.
location.country The country resolved from the IP address.
browser.name The name of the browser.
browser.version The version of the browser.
operatingSystem.name The name of the operating system.
operatingSystem.version The operating system version.
device.type The type of remote device.
lastSignOn.at The last time the user signed on using one or more authenticators.
lastSignOn.remoteIp The IP address of the remote device used during the last sign-on.

Response codes

Code Message
200 Successful operation.
201 Successfully created.
204 Successfully removed. No content.
400 The request could not be completed.
401 You do not have access to this resource.
403 You do not have permissions or are not licensed to make this request.
404 The requested resource was not found.