Employees
Offboard an employee
Changed onSchedules an employee to be offboarded. Changes affecting payroll will be reflected in the next available payroll cycle data run. Offboarding an employee can be cancelled up to, and including, the day before they are scheduled for offboarding. A webhook is available to inform you when this completes.
post/employees/{employee_id}/offboard
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/employees/{employee_id}/offboard
- AuthHTTP bearer
Path parameters
employee_idstring required
Example:ee_3b1333d87d9d4fd6ad83ba7f6b0e951a
Headers
Idempotency-Keystring
Unique key to ensure idempotent requests. If the same key is used for multiple identical & successful requests, the same response will be returned. Read more here
Request body
Example request
{
"offboard_on": "2024-12-01T00:00:00Z"
}Response
OK
Example response
{
"platform_id": "pt_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employer_id": "er_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"date_of_birth": "2024-12-01",
"start_on": "2024-12-01",
"earliest_benefits_start_date": "2024-12-01",
"offboard_on": "2024-12-01T00:00:00Z"
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- breaking
the response property
became nullable for the status
- breaking