---
title: "End the conversation"
---

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

# End the conversation

Path: cloudraker.run API

`DELETE /_cv/{cv}`

## Authentication

- `session`, http, header `Authorization`

## Path parameters

- `cv` (`endConversation.path.cv`; string, required) — The conversation id (`cv_...`).

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://your-org.cloudraker.run/_cv/<cv>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://your-org.cloudraker.run/_cv/<cv>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

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

### Python

```python
import requests

url = "https://your-org.cloudraker.run/_cv/<cv>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 200

Ended.

#### Example

```json
{
  "ok": true
}
```

- `ok` (`endConversation.response.200.ok`; boolean, optional)

### 4XX

Error. See the `code` table in the guides.

#### Example

```json
{
  "error": {
    "code": "run_busy",
    "message": "string",
    "run_id": "string",
    "details": null
  }
}
```

- `error` (`endConversation.response.4XX.error`; object, required)
  - `code` (`endConversation.response.4XX.error.code`; string, required)
    - example `"run_busy"`
  - `message` (`endConversation.response.4XX.error.message`; string, required)
  - `run_id` (`endConversation.response.4XX.error.run_id`; string, optional)
  - `details` (`endConversation.response.4XX.error.details`; unknown, optional)


Source: https://docs.cloudraker.com/run/api/end-conversation/index.md
