# API経由でのアップロード削除

**URL:** <https://meta.discourse.org/t/upload-deletion-via-api/396741>\
**Category:** Feature\
**Tags:** uploads, rest-api\
**Created:** [2026 年 2 月 22 日午後 7:08 UTC](https://meta.discourse.org/t/upload-deletion-via-api/396741 "2026-02-22T19:08:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)\
**Post date:** [2026 年 2 月 22 日午後 7:08 UTC](https://meta.discourse.org/t/upload-deletion-via-api/396741/1 "2026-02-22T19:08:47Z")

</div>

それを探してみましたが、アップロードを削除するためのAPIエンドポイントは[存在しない](https://docs.discourse.org/#tag/Uploads)ようです。

![Muppet Show: Kermit's Trapeze Fall](https://global.discourse-cdn.com/meta/original/4X/f/c/6/fc687acdc4390fc118983e430ee9c57044d308b6.webp)

これに関する言及や提案が見つからなかったため、ここに投稿します。最も近いものとして見つけたのは、[API: a scope with access to /uploads](https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895) です。

アップロードのAPIキーの粒度のスコープ設定では、「作成」は利用可能ですが、「削除」は利用できないことがわかります。

潜在的な回避策としては、[カスタムオートメーション](https://meta.discourse.org/t/create-custom-automations/275931)を作成し、それをAPI経由でトリガーすることが考えられます。

---

_[View the full topic](https://meta.discourse.org/t/upload-deletion-via-api/396741)._
