Is it possible to assign a co-host with SDK or API?

I was wondering if the following work flow can be customized and if so can you please point me to the documentation? It seems like a basic function:

  1. Get list of users in the meeting
  2. If X user is in the meeting, assign as co-host

Thank you.

Hi cg1313,
Thanks for the post. Which platform are you looking at?

Thanks!

Hi Carson. Thank you for your reply. Windows would be good but it can be written in any language as long as it can be executed via exe, php, python, etc. Preferably Windows.

Hi,
Thanks for the reply. Our Zoom SDK supports the following 3 programming languages on Windows:

If you are interested in assigning a participant as the co-host, take the C++ version as an example, you can use the following interfaces:

virtual SDKError AssignCoHost(unsigned int userid) = 0;

The IMeetingParticipantController class(https://zoom.github.io/zoom-sdk-windows/class_i_meeting_participants_controller.html) has all interfaces that you would need to CRUD a participant with his/her user role.

For other info regarding our Windows SDK, you can refer to our SDK doc: https://marketplace.zoom.us/docs/sdk/native-sdks/windows

Hope this helps. Thanks!