# 是否有办法通过 API 编辑帖子而不通知用户？

**URL:** https://meta.discourse.org/t/is-there-a-way-to-edit-posts-with-the-api-without-notifying-the-user/361667
**Category:** Support
**Tags:** rest-api
**Created:** [2025年四月13日 19:57 UTC](https://meta.discourse.org/t/is-there-a-way-to-edit-posts-with-the-api-without-notifying-the-user/361667 "2025-04-13T19:57:44Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2025年四月13日 22:06 UTC](https://meta.discourse.org/t/is-there-a-way-to-edit-posts-with-the-api-without-notifying-the-user/361667/3 "2025-04-13T22:06:11Z")

</div>

我认为，如果您使用 `system` 用户，它不应该通知用户。

> <https://github.com/discourse/discourse/blob/main/lib/post_revisor.rb#L723-L726>

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-edit-posts-with-the-api-without-notifying-the-user/361667)._
