---
title: "Delete a Shift by External ID"
method: DELETE
path: "/time_tracking/shifts/{external_id}"
tags: ["timeTrackingShifts"]
---

# Delete a Shift by External ID

`DELETE /time_tracking/shifts/{external_id}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/time_tracking/shifts/{external_id}`
- Auth: HTTP bearer

Permanently deletes a shift identified by its external_id. Once deleted, the shift cannot be retrieved or modified. Deletion is blocked once the payroll cycle the shift belongs to has closed.

 **Token scopes**: `time-tracking:write`

## Path parameters

- `external_id` string, required

## Response `204`

Shift deleted successfully. No content is returned.

- object

## Other responses

- `401`: Operation failed.

## Changes

- **2026-10-14** `ca9364fbe9c3`: 1 info
  - removed the non-success response with the status `403`

[Operation history](https://skmtc.dev/deel/apis/endpoints-3/changes/time_tracking/shifts/:external_id/delete.md)

---

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