Category Filter
Delete User (Only for Local users)
Delete local users from the device.
Argument | Type | Description |
---|---|---|
users | Array | Required. IDs of the users. |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/delete_user/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "users":[1], }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0]}' https://<portal>.hexnodemdm.com/api/v1/actions/delete_user/ |
HTTP Response:
1 |
HTTP/1.1 200 ok |