> 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. # leaveRoom > Leave a video/audio room. Leave the current room. ## **Parameters** ## **Returns** `Promise>` -- Server response confirming the leave. ## **Example** ```typescript {16} import { RelayClient } from '@signalwire/sdk'; const client = new RelayClient({ project: process.env.SIGNALWIRE_PROJECT_ID!, token: process.env.SIGNALWIRE_API_TOKEN!, contexts: ['default'] }); client.onCall(async (call) => { await call.answer(); // Join a room await call.joinRoom('meeting-room-1'); // Later, leave the room await call.leaveRoom(); await call.hangup(); }); await client.run(); ``` > Leave a video/audio room.