# Is there any API to disconnect the webinar automatically after completing the scheduled duration?

**URL:** <https://devforum.zoom.us/t/is-there-any-api-to-disconnect-the-webinar-automatically-after-completing-the-scheduled-duration/39609>\
**Category:** API and Webhooks\
**Created:** [January 4, 2021, 6:49am UTC](https://devforum.zoom.us/t/is-there-any-api-to-disconnect-the-webinar-automatically-after-completing-the-scheduled-duration/39609 "2021-01-04T06:49:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [January 5, 2021, 8:45pm UTC](https://devforum.zoom.us/t/is-there-any-api-to-disconnect-the-webinar-automatically-after-completing-the-scheduled-duration/39609/5 "2021-01-05T20:45:50Z")

</div>

Hi @sunder.singh179,

If you wish to manage licensing for users in relation to Webinars, you can do so programmatically. Let me know if this helps:

> [@Assign webinar licence to user via the API or automatically when user is created](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/2):
>
> Hey @techcityventures, Great question—you can do this programmatically by hitting our PATCH Update User Settings endpoint. You will update their features via their User Settings and setting webinar to true: [PATCH Update User Settings](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettingsupdate) Let me know if this helps! -Will

Let me know if this helps, or if you still have questions!

Best,  
Will

---

_[View the full topic](https://devforum.zoom.us/t/is-there-any-api-to-disconnect-the-webinar-automatically-after-completing-the-scheduled-duration/39609)._
