---
title: "Terminate an employee"
method: POST
path: "/employees/{employee_id}/terminate"
tags: ["Employees"]
---

# Terminate an employee

`POST /employees/{employee_id}/terminate`

## Request

- Base URL: `https://app.peopleforce.io/api/public/v3`
- URL: `https://app.peopleforce.io/api/public/v3/employees/{employee_id}/terminate`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/peopleforce/apis/company-api/docs/employees/:employee_id/terminate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `effective_from` string, date, required
  - `termination_type_id` integer, required
  - `termination_reason_id` integer, required
  - `eligible_for_rehire` boolean, required
  - `comment` string

## Response `200`

OK

- object

---

[API](https://skmtc.dev/peopleforce/apis/company-api.md) - [All operations](https://skmtc.dev/peopleforce/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/peopleforce/apis/company-api/revisions/ff612e61a4c3?raw)
