---
title: "Retrieve restricted offboarding dates"
method: GET
path: "/eor/contracts/{contract_id}/offboarding/restricted-dates"
tags: ["eorOffboarding"]
---

# Retrieve restricted offboarding dates

`GET /eor/contracts/{contract_id}/offboarding/restricted-dates`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/contracts/{contract_id}/offboarding/restricted-dates`
- Auth: HTTP bearer

Returns the country-specific dates, such as weekends and public holidays, on which the offboarding of an EOR contract cannot end. Call it before choosing the desired end date for a termination or resignation request, so the date you submit is one that is available.

 **Token scopes**: `contracts:read`

## Path parameters

- `contract_id` string, required

## Query parameters

- `termination_type` 'TERMINATION' | 'RESIGNATION'

## Response `200`

Successful retrieval of restricted dates.

- EorOffboardingGetContractOffboardingRestrictedDatesResponse200
  - `data` EorContractsContractIdOffboardingRestrictedDatesGetResponsesContentApplicationJsonSchemaData, required
    - `restricted_dates` string[], required: Dates that are not enabled for selection.
    - `earliest_available_end_date` string, date-time, required: The earliest date that can be selected as the end date.
    - `is_out_work_scheduled_allowed` boolean, required: Whether scheduling out of work is allowed.
    - `is_end_date_allowed_on_holidays` boolean, required: Whether end date selection is allowed on holidays.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Operation failed.
- `500`: Internal Server Error

---

[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)
