This request is used to delete the current picture of the employee.
| URL | https://api.telecomx.dk/employee/EMPLOYEE_ID/picture | |
|---|---|---|
| Method | DELETE | |
| 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. |
|
| Params | EMPLOYEE_ID | Id of employee |
https://api.telecomx.dk/employee/1234567890ABCDEF1234578/picture
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 404 | not_found | Employee not found |
| 404 | picture | Picture not found |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |