---
title: "Delete Shifts By Dates"
method: DELETE
path: "/calendar/shifts/delete-by-dates"
tags: ["provider", "calendar"]
---

# Delete Shifts By Dates

`DELETE /calendar/shifts/delete-by-dates`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/calendar/shifts/delete-by-dates`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/calendar/shifts/delete-by-dates/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete all shifts for the specified dates

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- DeleteShiftsByDatesRequest
  - `dates` string[], required

## Response `200`

Successful Response

- integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
