Lock a device.
Argument | Type | Description |
---|---|---|
message | String | Optional. Message to be displayed on the device |
phone_number | String | Required. Phone number |
user | Array | Optional. IDs of the users |
usergroup | Array | Optional. IDs of the user groups |
device | Array | Optional. IDs of the devices |
devicegroup | Array | Optional. IDs of the device groups |
1 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/lock_devices/ |
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0],"usergroups":[4],"devices":[5,6],"devicegroups":[12],"message":"Hai","phone_number":999}' https://<portal>.hexnodemdm.com/api/v1/actions/lock_devices/ |
1 |
HTTP/1.1 200 ok |