List all devices with specific username

List all devices with specific username

Back to CloudGen Access CLI Client Usage Examples

Example: List all devices from username Alice

 

access-cli devices list -o json --list-all --tenant=f28ddc39-79e0-4c9e-bdda-3bbff44e6bec | jq '.[] | select( .user.name == "Alice" )'

Example output:

{ "brand": "Apple", "created_at": "2022-03-03T15:18:27.561Z", "enrollment_id": "3f0dfafe-f792-4aa4-8c27-6488b5b478e9", "hardware_model": "MacBookPro15,2", "id": "a6bb9a4f-4a63-4d18-95e5-3c522f7e4d87", "os": "macOS", "security_checks": [], "status": "enrolled", "updated_at": "2022-03-03T15:19:17.968Z", "user": { "id": 458, "name": "Alice" } }