delete

View as MarkdownOpen in Claude

Remove the conversation and its data. Nothing is post-processed and no webhook fires, which is the difference from end().

Parameters

conversation_id
strRequired

The conversation to delete.

Returns

boolTrue when the service reported the conversation deleted, False when no conversation had that id.

Example

1import asyncio
2
3from signalwire.ai_chat import AIChatClient
4
5
6async def main():
7 async with AIChatClient(space="your-space") as client:
8 await client.delete("chat-8f21")
9
10
11asyncio.run(main())