Delete an existing employee

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json