Creating meeting via zoom api limiting join and end specific time

Hi i have 2 questions

  1. We create meeting via zoom api is there any way to end meeting in specific time we set start time and duration but meeting does not end even meeting duration was expired.

  2. We want to only registered participants can join the meeting (created via zoom api) how can we ensure this?

thank you

Hello, 

To end a meeting you can update the meeting status - https://devdocs.zoom.us/api-reference/zoom-api/meetings/meetingstatus. To only allow registered participants you can set the registration_type property - https://devdocs.zoom.us/api-reference/zoom-api/meetings/meetingcreate. 

Thanks