---
title: "Discard a proposed training example"
description: "Owner/admin/manager only. Deletes the proposal; the source conversation is untouched."
---

> 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

`POST /api/knowledge-studio/examples/{exampleId}/discard`

Owner/admin/manager only. Deletes the proposal; the source conversation is untouched.

## Path parameters

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

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/knowledge-studio/examples/<exampleId>/discard';
const options = {method: 'POST'};

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>/discard"

response = requests.post(url)

print(response.text)
```

## Responses

### 200

Proposal discarded

### 403

Caller is not an owner


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