---
title: "Delete a training example"
---

> 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 › AI Knowledge Studio

`DELETE /api/knowledge-studio/examples/{exampleId}`

## Path parameters

- `exampleId` (`delete/api/knowledge-studio/examples/exampleId.path.exampleId`; string, required)
  - format `uuid`

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.channelautomation.com/api/knowledge-studio/examples/<exampleId>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/knowledge-studio/examples/<exampleId>';
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/knowledge-studio/examples/<exampleId>"

response = requests.delete(url)

print(response.text)
```

## Responses

### 200

Training example deleted


Source: https://developer.channelautomations.com/api/delete-api-knowledge-studio-examples-example-id/index.md
