# Suspending an expired user

**URL:** https://meta.discourse.org/t/suspending-an-expired-user/77797
**Category:** Development
**Created:** [January 12, 2018, 1:56am UTC](https://meta.discourse.org/t/suspending-an-expired-user/77797 "2018-01-12T01:56:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 12, 2018, 7:58am UTC](https://meta.discourse.org/t/suspending-an-expired-user/77797/2 "2018-01-12T07:58:04Z")

</div>

This may be helpful for You:

> [@Suspend a user via the API](https://meta.discourse.org/t/suspend-a-user-via-the-api/36810):
>
> If you use Discourse web interface, you can go to the route /admin/users/:username and then use the suspend button. You can find the suspend method in UsersController. To suspend a user via the API, use /admin/users/:user\_id/suspend See the API docs for additional details about this route: [https://docs.discourse.org/#tag/Admin/operation/suspendUser](https://docs.discourse.org/#tag/Admin/operation/suspendUser)

---

_[View the full topic](https://meta.discourse.org/t/suspending-an-expired-user/77797)._
