Terminate employee
client.employees.terminate(stringemployeeID, RequestOptionsoptions?): void
/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.
Parameters
employeeID: string
Terminate employee
import VitableConnectAPI from 'vitable-connect-api';
const client = new VitableConnectAPI({
apiKey: 'My API Key',
});
await client.employees.terminate('empl_abc123def456');