api:employee:reset-password
Table of Contents
API : Employee Reset Password
Introduction
This request will reset the password for an employee and send the employee an e-mail with the new credentials.
Request
| 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) |
Request example
https://api.telecomx.dk/employee/1234567890ABCDEF1234578/resetpassword
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success. |
Example
{ success: true }
Errors
| 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 |
api/employee/reset-password.txt · Last modified: 2014/05/22 16:31 by Per Møller