Category Filter
Scan Location
Scan the location of a device.
Argument | Type | Description |
---|---|---|
users | Array | Optional. IDs of the users |
usergroups | Array | Optional. IDs of the user groups |
devices | Array | Optional. IDs of the devices |
devicegroups | Array | Optional. IDs of the device groups |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/scan_location/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "users":[0], "usergroups":[4], "devices":[5,6], "devicegroups":[12], }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0],"usergroups":[4],"devices":[5,6],"devicegroups":[12]}' https://<portal>.hexnodemdm.com/api/v1/actions/scan_location/ |
HTTP Response:
1 |
HTTP/1.1 200 ok |