***

title: leave_room
slug: /reference/python/relay/call/leave-room
description: Leave a video/audio room.
max-toc-depth: 3
---------------------

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

Leave the current room.

## **Parameters**

## **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 room
    await call.join_room("meeting-room-1")

    # Later, leave the room
    await call.leave_room()
    await call.hangup()

client.run()
```