This request will reset the password for an employee and send the employee an e-mail with the new credentials.
| URL | https://api.telecomx.dk/employee/EMPLOYEE_ID/resetpassword | |
|---|---|---|
| Method | GET | |
| Access level | MANAGER or OWNER if user belongs to the customer of the employee. RESELLER if customer belongs to the reseller and employee belongs to the customer. ADMIN. |
|
| Param | EMPLOYEE_ID | Id of the employee (24 hex-char string) |
https://api.telecomx.dk/employee/1234567890ABCDEF1234578/resetpassword
| Json object | ||
|---|---|---|
| success | Boolean | True on success. |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 400 | employee | Employee id not found in request URI |
| 403 | employee | Insufficient access level |
| 404 | employee | Employee not found |
| 409 | employee | Employee does not have access to login |