Mark as Leavers

Put
/employers/{employerId}/employees/leavers

Used to mark multiple employees as leavers.
The body should contain an array of Ids to identify the employees to update.

Store values

Parameters

string
The Id of the Employer to which the Employees belong

string[]
string
The date the employees left or are leaving (optional)
boolean
If set to true, the employee will be email a P45 if they have an email address (optional)
Try it

Possible Responses

200 Success
400 Bad Request
409 Conflict