Terminates the specified employee.

Access: System, Admin, and ClientAdmin users only.

The termination payload controls the effective termination date and optional downstream handling such as deduction coverage end date, org-chart removal, and custom termination reason selection.

When org-chart removal is requested, the employee is removed from the version effective on the termination date and every later version. If no version starts on that date, the version effective at that time is copied to the termination date before removal. This placement can be restored only through the back-office Revert Termination workflow.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Identifier of the company that owns the employee.

int32
required

Identifier of the employee to terminate.

Body Params

Employee termination payload.

Request payload used to terminate an employee.

date-time | null
required

Effective termination date in yyyy-MM-dd format. Required.
Data type is validated and must be Number

date-time | null

Optional date when time-off rule processing should end for the employee.
Data type is validated and must be Number

date-time | null

Optional date when net-pay processing should end for the employee.
Data type is validated and must be Number

int32
enum

Members:

  • 0 - NotSpecified ( Not Specified. )
  • 1 - NewOportunity ( New oportunity. )
  • 2 - PersonalReasons ( Personal reasons. )
  • 3 - ReturningToSchool ( Returning to school. )
  • 101 - Restructure ( Restructure. )
  • 102 - PositionElimination ( Position Elimination. )
  • 103 - Performance ( Performance. )
  • 104 - Conduct ( Conduct. )
  • 200 - Custom ( Custom. )
  • 255 - ClientTermination ( Client Termination. )
int32 | null

Identifier of the custom termination reason. Required when Worklio.ApiModels.API.Models.Clients.Employee.EmployeeTerminate_v10.TerminationReason is Custom.

int32
enum

Members:

  • 0 - EndOfMonth ( End Of Month. )
  • 1 - TerminationDate ( Termination Date. )
  • 2 - DefaultFromPlan ( Default From Plan. )
Allowed:
boolean | null

When true, removes the employee from the organization-chart version effective on
Worklio.ApiModels.API.Models.Clients.Employee.EmployeeTerminate_v10.TerminationDate and every later version. If no version starts on that date, the version
effective at that time is copied to the termination date before removal. Only the back-office Revert
Termination workflow restores this placement. When omitted or false, the chart is unchanged.

Headers
string
Defaults to 1.0

The requested API version

string
Defaults to 1.0

The requested API version

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response
204

No Content

Language
Credentials
Bearer
jwt
LoadingLoading…
Response
Click Try It! to start a request and see the response here!