delete
https://api.sandbox.flowpayroll.ai/v1/employees/
Needs permission employee:delete.
Permanently deletes an employee who has never been paid. Their preview payslips are deleted and they are removed from every open pay run they were on, so each run's employee count goes down by one.
An employee with a final payslip cannot be deleted, because that payslip has been paid and reported to HMRC. The request fails with 409 and the token deleteEmployeeHasFinalPayslips, and nothing is changed. To stop paying someone who has already been paid, record them as a leaver instead.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
