---
title: "Create a termination request for the contract"
method: POST
path: "/contracts/{contract_id}/terminations"
tags: ["Terminations"]
---

# Create a termination request for the contract

`POST /contracts/{contract_id}/terminations`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/terminations`
- Auth: HTTP bearer

Starts the termination of a contractor contract, either immediately or on a future date, in which case the termination stays pending until that date. A pending termination can be cancelled with DELETE /contracts/{contract_id}/terminations before it takes effect, but once it has taken effect this action is irreversible through the public API. Use GET /contracts/termination-reasons to get the reasons to present.

 **Token scopes**: `contracts:write`

## Path parameters

- `contract_id` string, required

## Request body

- object
  - `data` ContractsContractIdTerminationsPostRequestBodyContentApplicationJsonSchemaData, required: Termination data. At minimum, you must provide either terminate_now: true (for immediate termination) OR completion_date (for scheduled termination).
    - `message` string: Optional message to include with the termination
    - `terminate_now` boolean: If true, terminates the contract immediately. If false, completion_date is required.
    - `completion_date` string, date: Contract completion date (YYYY-MM-DD). Required when terminate_now is false or not provided. Since terminate_now defaults to false, this field is required unless you explicitly set terminate_now to true.
    - `termination_type` 'RESIGNATION' | 'TERMINATION' | 'END_OF_CONTRACT': The type of termination. Specifies whether it is a resignation (contractor-initiated), termination (client-initiated), or end of contract (mutual/planned).
    - `eligible_for_rehire` 'YES' | 'NO' | 'DONT_KNOW': Indicates whether the contractor is eligible for rehire in the future.
    - `termination_reason_id` string, uuid: The UUID of the termination reason. Use GET /contracts/termination-reasons to retrieve the list of available reasons.
    - `eligible_for_rehire_reason` string: Provides context when eligible_for_rehire is 'DONT_KNOW'. Should be empty or null for other values.
    - `termination_reason_description` string: Free-form text providing additional context about the termination reason. Can be provided independently without termination_reason_id, or used to add context to a selected reason.

## Response `201`

Successful operation

- TerminationsCreateContractTerminationResponse201
  - `data` ContractsContractIdTerminationsPostResponsesContentApplicationJsonSchemaData
    - `id` string: Contract id
    - `completion_date` string, date-time: Contract completion date

## Other responses

- `400`: Validation or business-rule failure. Possible codes: invalid_parameter (Joi schema violation, e.g. missing completion_date when terminate_now is false); contract_not_active (contract is not in an active state and cannot be terminated); invalid_completion_date (completion_date is in the past or otherwise invalid); invalid_termination_reason (termination_reason_id does not exist or is not applicable).
- `401`: Missing or invalid bearer token.
- `403`: Caller lacks permission to terminate this contract. Either the caller does not have the contracts.terminate permission, is not a CLIENT profile, or does not have access to the specified contract.
- `404`: No active contract was found for the provided contract_id, or the caller does not have access to it.
- `409`: A termination request already exists for this contract and cannot be duplicated.
- `500`: Unhandled server error or downstream service failure during contract termination. The transaction is rolled back and no termination is persisted.

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
