Skip to content
Get started

Terminate employee

client.employees.terminate(stringemployeeID, RequestOptionsoptions?): void
delete/v1/employees/{employee_id}

Terminates a specific employee. This sets the employee's active status to false and records a termination date. The employee record is not permanently deleted for compliance reasons.

ParametersExpand Collapse
employeeID: string
Terminate employee
import VitableConnectAPI from 'vitable-connect-api';

const client = new VitableConnectAPI({
  apiKey: 'My API Key',
});

await client.employees.terminate('empl_abc123def456');
Returns Examples