# Silence user via API

**URL:** https://meta.discourse.org/t/silence-user-via-api/205502
**Category:** Development
**Tags:** rest-api
**Created:** [October 7, 2021, 9:26pm UTC](https://meta.discourse.org/t/silence-user-via-api/205502 "2021-10-07T21:26:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![GioLogist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/giologist/32/121623_2.png) [@GioLogist](https://meta.discourse.org/u/GioLogist)
#### Post date: [October 7, 2021, 9:35pm UTC](https://meta.discourse.org/t/silence-user-via-api/205502/2 "2021-10-07T21:35:41Z")

</div>

Quick update, I found that making a PUT request to the endpoint messaged [here](https://meta.discourse.org/t/silence-user-via-admin-api-cant-setup-reason-string/150612) does indeed work. As does the “reason”.

Is there a reason this isn’t included in [documentation](https://docs.discourse.org/)?

---

_[View the full topic](https://meta.discourse.org/t/silence-user-via-api/205502)._
