# 게시글이 3개 미만인 금지된 사용자의 게시글 삭제?

**URL:** https://meta.discourse.org/t/deleting-posts-by-banned-users-with-3-posts/151731
**Category:** Support
**Created:** [5월 17, 2020, 5:30오전 UTC](https://meta.discourse.org/t/deleting-posts-by-banned-users-with-3-posts/151731 "2020-05-17T05:30:20Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![michebs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michebs/32/190102_2.png) [@michebs](https://meta.discourse.org/u/michebs)
#### Post date: [5월 19, 2020, 12:40오후 UTC](https://meta.discourse.org/t/deleting-posts-by-banned-users-with-3-posts/151731/5 "2020-05-19T12:40:11Z")

</div>

Kirupa님,

> [@kirupa](#):
>
> 게시글을 3개 미만으로 작성한 금지된 사용자들의 모든 게시글을 찾는 방법이 있나요?

아래의 [Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) 쿼리를 사용하면 게시글이 3개 미만인 모든 금지된 사용자를 찾을 수 있습니다:

```plaintext
SELECT p.user_id, COUNT(p.id) AS qtt_posts
FROM posts p
INNER JOIN users u ON u.id = p.user_id
WHERE suspended_till NOTNULL
GROUP BY user_id
HAVING COUNT(p.id) < 3

```

사용자를 삭제하려면 API: `/admin/users/{id}.json`를 사용할 수 있으며, 문서에 대한 자세한 내용은 [여기](https://docs.discourse.org/#tag/Users/paths/~1admin~1users~1%7Bid%7D.json/delete)에서 확인하실 수 있습니다.

---

_[View the full topic](https://meta.discourse.org/t/deleting-posts-by-banned-users-with-3-posts/151731)._
