---
title: "Update Deactivate Employee"
method: PUT
path: "/hris/employees/{id}/exitrequest"
tags: ["EmployeeExit"]
---

# Update Deactivate Employee

`PUT /hris/employees/{id}/exitrequest`

## Request

- Base URL: `https://{company}.keka.com/api/v1`
- URL: `https://{company}.keka.com/api/v1/hris/employees/{id}/exitrequest`
- Auth: OAuth 2
  - Implicit: `https://login.keka.com/connect/authorize`

Update Deactivate Employee

## Path parameters

- `id` string, required

## Request body

- UpdateExitRequestDTO
  - `exitType` 0 | 1 | 2 | 3
  - `exitReason` string, nullable
  - `resignationDate` string, date-time, nullable
  - `lastWorkingDate` string, date-time, nullable
  - `isOkToRehire` boolean, nullable
  - `comments` string, nullable

## Response `200`

OK

- BooleanAPIReponse
  - `data` boolean
  - `message` string, nullable
  - `errors` string[], nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/keka/apis/core-hr.md) - [All operations](https://skmtc.dev/keka/apis/core-hr/llms.txt) - [OpenAPI document](https://skmtc.dev/keka/apis/core-hr/revisions/d4f1d9facc7b?raw)
