Hey @shafqatghafoor99,
Welcome to our Developer Community!
It sounds like you’re trying to update the host for a meeting in real-time—is that right? If so, I should note that our APIs are primarily for pre- and post- meeting actions, rather than handling in-meeting actions. If you wish to update the host of a meeting programmatically, we recommend doing so ahead of the meeting start, using this endpoint:
Alternatively, you can designate hosts/co-hosts in the Zoom Client UI.
I hope this helps,
Will