Delete employee requests
This endpoint allows to delete all requests associated with an employee within a time period not exceeding 31 days.
DELETE /api/v1/businesses/{businessId}/employees/{employeeId}/requests?from={yyyy-MM-dd}&to={yyyy-MM-dd}
If the data included is correct —both the businessId and the employeeId— all requests of that employee within the specified time period in the URL will be deleted.
Considerations
If the time period specified in the URL is longer than 31 days, the request will return a 406 Not Acceptable
error.
If the employee identifier is incorrect, the request will return a 404 Not Found
error indicating Employee not found.
Useful links
What is a request?