---
title: "Delete a shift (its assignments and check-ins go with it)"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Field Sales

`DELETE /api/field-sales/shifts/{id}`

## Code samples

### cURL

```bash
curl --request DELETE \
  --url https://api.channelautomation.com/api/field-sales/shifts/%7Bid%7D
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/field-sales/shifts/%7Bid%7D';
const options = {method: 'DELETE'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/field-sales/shifts/%7Bid%7D"

response = requests.delete(url)

print(response.text)
```


Source: https://developer.channelautomations.com/api/delete-api-field-sales-shifts-id/index.md
