Okta Admin Management API
/Devices
//
List all OS accounts for...
Lists all OS accounts for a device by deviceId
GET
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
- WINDOWS
- MACOS
- List of Windows OS accounts
- List of macOS accounts
[ { "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": { … } } ]