Category Filter
List all Users
Returns a list of all enrolled users.
Parameters | Type | Description | Default value |
---|---|---|---|
order_by | String | Optional. Order by username. Use asc or desc | false |
user_type | String | Optional. Use local or active directory | |
enrollment_status | String | Optional. Use enrolled or unenrolled | |
page | Integer | Optional | 1 |
per_page | Integer | Optional | 100 |
curl
HTTP Request:
Shell Command:
1 |
GET https://<portal>.hexnodemdm.com/api/v1/users/?order_by=as |
Shell Command:
1 |
curl -H "Authorization: <your API key>" "https://<portal>.hexnodemdm.com/api/v1/users/?order_by=asc" |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
{ "count": 103, "next": https://.hexnodemdm.com/api/v1/users/?order_by=asc&page=2" "previous": null, "results": [ { "id": "1", "name": "Randy", "email": ”randy@hexnode.com", “upn”: “randy@hexnode.com”, "phoneno": "18664989407", "total_devices": "3", "domain":"azure" }, { "id": "2", "name": "John", "email": ”john@hexnode.com", “upn”: “”, "phoneno": "18664989407", "total_devices": "3", "domain":"local" }, ... } |