# 特定のトピックで3か月後に投稿を自動削除 - APIオプションが必要

**URL:** https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776
**Category:** Development
**Tags:** rest-api
**Created:** [2022 年 11 月 8 日午前 9:05 UTC](https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776 "2022-11-08T09:05:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@naresh](https://meta.discourse.org/u/naresh)
#### Post date: [2022 年 11 月 8 日午前 9:05 UTC](https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776/1 "2022-11-08T09:05:02Z")

</div>

こんにちは、専門家の皆さん、

新しいトピックを作成する際に使用できるREST APIのオプションを探しています。そのオプションにより、3か月以上前の投稿がそのトピックから自動的に削除されるようにトピックを設定できます。  
トピックと投稿の両方をREST API呼び出しを使用して作成しています。APIにそのようなオプションがあるかどうか教えてください。

よろしくお願いします。Naresh

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022 年 11 月 8 日午前 10:44 UTC](https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776/2 "2022-11-08T10:44:13Z")

</div>

> [@naresh](#):
>
> 新しいトピックを作成する際に使用できる REST API のオプションを探しています。

確認方法は次のとおりです。[Discourse API のリバースエンジニアリング](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576)

---

<div class="post-metadata">

### Author: ![naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@naresh](https://meta.discourse.org/u/naresh)
#### Post date: [2022 年 11 月 8 日午前 11:40 UTC](https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776/3 "2022-11-08T11:40:33Z")

</div>

お返事ありがとうございます。適切なAPIを見つけるのに大変役立ちました。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022 年 12 月 8 日午前 11:40 UTC](https://meta.discourse.org/t/auto-delete-the-post-after-3-months-on-specific-topic-need-api-option/244776/4 "2022-12-08T11:40:51Z")

</div>

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