Okta Admin Management API
/Devices
/- List all OS accounts for a device
Devices
List all devices
Retrieve a device
Delete a device
List all enrollment authenticators for a device
Retrieve the capabilities for a device
List all Device-Bound SSO sessions for a device
Activate a device
Deactivate a device
Suspend a Device
Unsuspend a Device
Retrieve an OS account
Retrieve the capability readiness for an OS account
List all users for a device
List all OS accounts for...
Lists all OS accounts for a device by deviceId
Comma-separated list of related resources to include in the _embedded attribute. Supported values are users, account_linked_enrollments, and offlineFactors.
Note:
offlineFactorsexpands a section nested underaccount_linked_enrollments, so it only takes effect whenaccount_linked_enrollmentsis also requested. It adds_embedded.offlineFactorsto each linkeddesktop_mfaenrollment.
| Items Enum Value | Description |
|---|---|
| users | Lists the users associated with the OS account |
| account_linked_enrollments | Lists the enrollments linked to the OS account |
| offlineFactors | Lists the offline authentication factors on each linked |
Example:expand=users&expand=account_linked_enrollments
Examples:
Embed users and linked enrollments
expand=["users","account_linked_enrollments"]Embed linked enrollments and their offline factors
expand=["account_linked_enrollments","offlineFactors"]- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/devices/{deviceId}/os-accounts
curl -i -X GET \
'https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/os-accounts?expand=users%2Caccount_linked_enrollments'Success
Array [
]
OS platform for OS accounts (desktop platforms only)
| Enum Value | Description |
|---|---|
| MACOS | macOS operating system |
| WINDOWS | Windows operating system |
Discriminator
Response
[ { "id": "dao3qgkIEKjhNZudR0g4", "deviceId": "guo4a5u7JHHhjXrMK0g4", "created": "2026-01-19T17:22:30.000Z", "lastUpdated": "2026-01-19T17:22:30.000Z", "platform": "WINDOWS", "profile": { … }, "status": "ACTIVE", "lastSeenAt": "2026-04-09T17:22:56.000Z", "resourceAlternateId": null, "resourceDisplayName": { … }, "resourceId": "dao3qgkIEKjhNZudR0g4", "resourceType": "DOSAccount", "_embedded": { … }, "_links": { … } } ]