Category Filter
Set Password
Set the password for Android devices enrolled in the Android Enterprise program.
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 |
password | String | Required. Specify the password for Android device enrolled in Android Enterprise Program. |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 12 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/set_password/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "users":[0], "usergroups":[4], "devices":[5,6], "devicegroups":[12], “password”: “<your password>” }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0],"usergroups":[4],"devices":[5,6],"devicegroups":[12],“password”: “<your password>”} https://<portal>.hexnodemdm.com/api/v1/actions/set_password/ |
HTTP Response:
1 |
HTTP/1.1 200 ok |