Remove employee incidences

This endpoint allows removing all incidences associated with an employee within a defined time period.

DELETE /api/v1/business/{businessId}/employees/{employeeId}/incidences?from={yyyy-MM-dd}&to={yyyy-MM-dd}

If the data included in the request is correct —both the businessId and the employeeId—, the incidences recorded for that employee will be removed.

Considerations

If the employee identifier specified in the URL does not exist in the business, the request will return a 404 Not Found error, indicating Could not find employee with id X.