Category Filter
Send Enrollment Request
Send enrollment request to a user.
Argument | Type | Description |
---|---|---|
ownership | String | Required. Specify the type of ownership, either personal, corporate or user_choice |
curl
HTTP Request:
1 2 3 4 5 6 7 8 |
POST https://<portal>.hexnodemdm.com/api/v1//users/{USER_ID}/send_request/ headers:- Authorization: api key Content-Type: application/json Sample Post Data:- [{ "ownership": "personal" }] |
Shell Command:
1 |
curl -H "Authorization:<your API key>" -H "Content-Type: application/json" -d '{ "ownership": "personal"}' https://<portal>.hexnodemdm.com/api/v1/users/{USER_ID}/send_request/ -X POST |
HTTP Response:
1 2 |
HTTP/1.1 200 {"detail": "enrollment request sent successfully"} |