> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# leave_conference

> Leave an audio conference.

Leave an audio conference.

## **Parameters**

The conference ID to leave.

## **Returns**

`dict` -- Server response confirming the leave.

## **Example**

```python {18}
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    await call.answer()

    # Join a conference
    result = await call.join_conference("team-standup", beep="onEnter")

    # Later, leave the conference
    await call.leave_conference(result.get("conference_id"))

client.run()
```