---
title: "Updating dismissals"
method: PUT
path: "/dismissals/{dismissalId}"
tags: ["Post Hiring"]
---

# Updating dismissals

`PUT /dismissals/{dismissalId}`

## Request

- Base URL: `https://api.gupy.io/api/v1`
- URL: `https://api.gupy.io/api/v1/dismissals/{dismissalId}`
- Auth: HTTP bearer

Updates a dismissal.

## Path parameters

- `dismissalId` integer, required

## Request body

- DismissalPutRequest
  - `reason` 'no_cause_employer_dismissal' | 'contract_termination_dismissal' | 'early_contract_termination_by_employer_dismissal' | 'voluntary_dismissal' | 'other': Reason of the dismissal
  - `isRehired` boolean: If the employee will be rehired
  - `rehiringReason` 'hired_intern' | 'partnership' | 'other': Reason of the rehiring

## Response `200`

A confirmation of successful update of the dismissal

- DismissalPutRequest
  - `reason` 'no_cause_employer_dismissal' | 'contract_termination_dismissal' | 'early_contract_termination_by_employer_dismissal' | 'voluntary_dismissal' | 'other': Reason of the dismissal
  - `isRehired` boolean: If the employee will be rehired
  - `rehiringReason` 'hired_intern' | 'partnership' | 'other': Reason of the rehiring

## Other responses

- `400`: BadRequest / Invalid Input
- `401`: Unauthorized
- `403`: Forbidden
- `404`: NotFound / Resource not found

---

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