---
title: "DELETE /files/{fileID}"
method: DELETE
path: "/files/{fileID}"
tags: ["file"]
---

# DELETE /files/{fileID}

`DELETE /files/{fileID}`

指定したファイルを削除します。

## Response `204`

正常に削除できました。

## Other responses

- `403` — 削除できませんでした。指定されたファイルを削除する権限がありません。
- `404` — 削除できませんでした。指定されたファイルは存在しません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `deleteFile` was added
- **2019-07-05** `6956f2622a20` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/files/:fileID/delete.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/4d95b324a4b1/schema)
