> 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. # hangupAll > hangupAll method for the RoomSession class. ### hangupAll * **hangupAll**(): `Promise` Hangs up the active calls in the `RoomSession` and will send a `REJECT_ALL` message to the rejected participant(s). #### REJECT\_ALL message When a participant is rejected, the `causeCode` will be `825` and the `cause` will be `REJECT_ALL`. Below is an example of the JSON response when a participant is rejected: ```json { "jsonrpc": "2.0", "id": "cbcbe519-39db-4585-9a89-f0e1fdf036e9", "result": { "node_id": "105f2e4f-69a7-4907-bc01-36399fe34bdd@west-us", "result": { "jsonrpc": "2.0", "id": "f4a9c207-e1de-49bb-98bf-e8f4b243c4e0", "result": { "callID": "fc456094-6f0e-44b5-8209-7a474cac7ef7", "message": "CALL ENDED", "causeCode": 825, "cause": "REJECT_ALL" } }, "code": "200" } } ``` #### Returns `Promise` #### Example ```javascript await roomSession.hangupAll(); ``` > hangupAll method for the RoomSession class.