# How to set the duration limit?

**URL:** <https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966>\
**Category:** Meetings\
**Created:** [January 17, 2024, 1:47am UTC](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966 "2024-01-17T01:47:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev28](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dev28](https://devforum.zoom.us/u/dev28)\
**Post date:** [January 17, 2024, 1:47am UTC](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966/1 "2024-01-17T01:47:10Z")

</div>

Hello?  
Can we quit the meeting if meeting time exceeds duration limit by Zoom API?

For example, we want to set duration limit ‘40 minute’.  
In this case, when zoom meeting lasted more than 40 minutes, the meeting should be quited.

It looks like zoom free plan.  
When meeting lasted more than 40 minutes, the meeting was forced to quit.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 17, 2024, 1:53am UTC](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966/2 "2024-01-17T01:53:01Z")

</div>

Hello, @dev28, Greetings,

Thank you for posting in the Zoom development forum. I’m happy to assist you. Please refer to this health and development forum post and let me know if you have any questions. I’ve also provided a link to ‘Update the status of a meeting’ for your reference.

> [@How to end meeting with Zoom API](https://devforum.zoom.us/t/how-to-end-meeting-with-zoom-api/34625/2):
>
> Hi @yimeichuah, Are you using the Zoom Web Client? If so, there’s not a way to hide the controls. In regards to ending a meeting, you can make use of our Update Meeting Status endpoint: This allows you to end the meeting through the API by updating its status to “end.” If you need to end it after 1 hour, for example, you could also use of the [Meeting Started Webhook/Event](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-started), and trigger that to call the above endpoint after the desired duration has passed. Let me know if this helps! Will

#Update the status of a meeting

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingStatus)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

Let me know if you have any additional questions.

---

<div class="post-metadata">

**Author:** ![dev28](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@dev28](https://devforum.zoom.us/u/dev28)\
**Post date:** [January 17, 2024, 2:05am UTC](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966/3 "2024-01-17T02:05:14Z")

</div>

thank you for your replay.

Best.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 17, 2024, 3:34am UTC](https://devforum.zoom.us/t/how-to-set-the-duration-limit/101966/4 "2024-01-17T03:34:33Z")

</div>

You’re welcome, @dev28!
