# Automatically deactivate users on the account after a certain time from last login session

**URL:** <https://devforum.zoom.us/t/automatically-deactivate-users-on-the-account-after-a-certain-time-from-last-login-session/134832>\
**Category:** API and Webhooks\
**Created:** [July 3, 2025, 7:44pm UTC](https://devforum.zoom.us/t/automatically-deactivate-users-on-the-account-after-a-certain-time-from-last-login-session/134832 "2025-07-03T19:44:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TylerP](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tylerp/32/70046_2.png) [@TylerP](https://devforum.zoom.us/u/TylerP)\
**Post date:** [July 3, 2025, 7:44pm UTC](https://devforum.zoom.us/t/automatically-deactivate-users-on-the-account-after-a-certain-time-from-last-login-session/134832/1 "2025-07-03T19:44:13Z")

</div>

I have been looking into a way to leverage the API to deactivate accounts on my company site license. Once they are deactivate, use the built in delete feature for deactivate accounts after a set time period. Has anybody set up something similar to what I am describing here. Just looking to see if this is the best way to achieve this use case.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 9, 2025, 4:03pm UTC](https://devforum.zoom.us/t/automatically-deactivate-users-on-the-account-after-a-certain-time-from-last-login-session/134832/2 "2025-07-09T16:03:37Z")

</div>

Hi @TylerP  
Thanks for reaching out to us and welcome to the Zoom Developer Forum! Happy to have you here!  
Here are some of the available user endpoints that you can explore to achieve what you are looking for

> **[Users APIs](https://developers.zoom.us/docs/api/users/#tag/users)**
>
> The User APIs allow developers to programatically access data related to users, groups, and contact groups.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 13, 2026, 7:40am UTC](https://devforum.zoom.us/t/automatically-deactivate-users-on-the-account-after-a-certain-time-from-last-login-session/134832/3 "2026-07-13T07:40:05Z")

</div>

Closed on July 13, 2026, 7:40am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
