Change Room

Hello,

How to change a room ?
I have a button, when I click on I want to change the activate room.

<div onclick="Change()">ChangeChannel</div>
	<div id="meet"></div>
    <script src="https://meet.jit.si/external_api.js"></script>
    <script>
	function Change()
	{
		const options2 = {
		roomName: 'AnotherRoom',   
		width: 700,
		height: 700,			
	    parentNode: document.querySelector('#meet')
	};

	const api = new JitsiMeetExternalAPI(domain, options2);
	}
	
    const domain = 'meet.jit.si';		   
	const options = {
		roomName: 'ChangeTest',    
		width: 700,
		height: 700,
	   parentNode: document.querySelector('#meet')
	};

	const api = new JitsiMeetExternalAPI(domain, options);
    </script>

I was able to do that by creating new JitSi object with new options object…