Category Filter
Edit User
Edit the user details.
Argument | Type | Description | Default value |
---|---|---|---|
name | String | Required. The display name of the user | |
String | Required. Unique email address of the user | ||
phoneno | Integer | Optional. The contact number of the user | null |
password | String | Optional. User password | null |
curl
HTTP Request:
1 2 3 4 5 6 7 8 9 10 11 |
PUT https://<portal>.hexnodemdm.com/api/v1/users/{USER_ID}/ headers:- Authorization: api key Content-Type: application/json Sample Post Data:- [{ "name": "Neil", "email":"neil@hexnode.com", "phoneno":"18664989407", "password":"admin", }] |
Shell Command:
1 |
curl -H "Authorization:<your API key>" -H "Content-Type: application/json" -d '{ "name": "Neil","email":"neil@hexnode.com", "phoneno":"18664989407","password":"admin" }' https://<portal>.hexnodemdm.com/api/v1/users/<USER_ID>/ -X PUT |
HTTP Response:
1 2 3 4 5 6 7 8 |
HTTP/1.1 200 ok { "id": 13, "name": "Neil", "email": "neil@hexnode.com", "phoneno": "18664989407", "alternate_email": null, "password": "admin" } |