Skip to content

List all Device-Bound SSO sessions for a device

Request

Early AccessIdentity Engine
OAuth 2.0 scope:
  • okta.devices.read

Lists all active Device-Bound SSO (DBSSO) sessions for a device by deviceId, with one entry per user with an active session.

If you don't have permission to view a given user, that user's session is excluded from the response rather than causing an HTTP 403 error for the request.

Path
deviceIdstringrequired

id of the device

Example:guo4a5u7JHHhjXrMK0g4
curl -i -X GET \
  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/device-sessions

Responses

Success

Bodyapplication/json
Array [
factorsArray of objects, non-empty(DeviceSessionFactor)required

Authenticator methods that are verified in this session, with the most recently verified authenticator method first. This array always has at least one item.

idstringrequired

The session's external identifier. The same value is recorded in the System Log as authenticationContext.deviceSessionId. Use that event to correlate this session with its events.

Example:"eds1a2b3c4d5e6f7g8h9"
userIdstringrequired

The unique identifier of the user that this session belongs to

Example:"00u1a2b3c4d5e6f7g8h9"
]
Response
[ { "id": "eds1a2b3c4d5e6f7g8h9", "userId": "00u1a2b3c4d5e6f7g8h9", "factors": [ … ], "_links": { … } } ]