Category Filter
Retrieve User Details
Get the details of a user.
curl
HTTP Request:
1 |
GET https://<portal>.hexnodemdm.com/api/v1/users/{USER_ID}/ |
Shell Command:
1 |
curl -H "Authorization:<your API key>" "https://<portal>.hexnodemdm.com/api/v1/users/{USER_ID}/" |
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
{ "id":1, "name":"neil", "email": "neil@hexnode.com", "phoneno": "18664989407", "devices":[ { "id":1, "name": "neil's ipad", "status": "enrolled", "model_name": "iPad (3rd Gen)", "platform": "ios" } ] "groups":[ { "id": 2, "name": "ios usergroup", "description": "contain ios devices only", "created_date": "2017-03-30T09:00:08.901Z" }, "policies":[ { "id": 1, "name":"kiosk policy", "version": 3, }, "location_history":[ { "last_location": "Brisbane, QLD, Australia", "device_id":1, "device_name": "OnePlusONE E1003", "last_location_time": "2017-03-29T02:15:05.175Z", "longitude": "-27.470125", "latitude": "153.021072", }, { "last_location": "Walnut, CA 91789, USA", "device_id":2, "device_name": "XiaomiRedmi Note 4", "last_location_time": "2017-03-30T09:00:08.901Z", "longitude": "-122.0638889", "latitude": "37.9063889", } ] } |