> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# delete

> Remove a conversation and its data.

[ref-aichatclient]: /docs/server-sdks/reference/typescript/agents/ai-chat-client

[end]: /docs/server-sdks/reference/typescript/agents/ai-chat-client/end

Remove the conversation and its data. Nothing is post-processed and no webhook
fires, which is the difference from [`end()`][end]. Deleting an id that no
longer exists is not an error.

## **Parameters**

**`conversationId`** `string` — required

The conversation to delete.

---

## **Returns**

`Promise<boolean>` -- `true` when the service reported the conversation deleted.

## **Example**

```typescript {5}
import { AIChatClient } from '@signalwire/sdk';

const client = new AIChatClient({ space: 'your-space' });

await client.delete('chat-8f21');
```