---
title: "Cancel EOR Contract"
method: POST
path: "/eor/contract/{oid}/cancel"
tags: ["eorHiring"]
---

# Cancel EOR Contract

`POST /eor/contract/{oid}/cancel`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/contract/{oid}/cancel`
- Auth: HTTP bearer

Cancels the EOR contract identified by oid. The contract must be in an active or pending state to be eligible for cancellation.

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

## Path parameters

- `oid` string, required

## Request body

- object
  - `data` EorContractOidCancelPostRequestBodyContentApplicationJsonSchemaData, required
    - `cancellation_reason` 'INTERNAL_DECISION' | 'UNSATISFACTORY_EXPERIENCE' | 'EXPLORING_ALTERNATIVE' | 'OFFER_CHANGES', required: Reason for contract termination
    - `cancellation_message` string: Message for contract termination

## Response `204`

Contract cancelled successfully

- object

## Other responses

- `400`: Bad Request
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Contract not found
- `500`: Operation failed.

---

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