Category Filter
Change Owner
Change the owner of a device.
Argument | Type | Description |
---|---|---|
devices | Array | Required. IDs of the devices |
user | String | Required. IDs of the user |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/change_owner/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "user":[1], "devices":[5,6], }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"devices":[],"user":1}' https://<portal>.hexnodemdm.com/api/v1/actions/change_owner/ -X POST |
HTTP Response:
1 |
HTTP/1.1 200 ok |