*** id: e139d10f-86aa-4603-8fcf-62110083c3e7 title: destroy slug: /js/reference/video/room-session/destroy description: destroy method for the RoomSession class. max-toc-depth: 3 ---------------- ### destroy * **destroy**(): `void` Destroys the room object. This only destroys the JavaScript object: it has no effect on the server-side room. #### Returns `void`