---
title: "Detach files from incident"
method: DELETE
path: "/incidents/{id}/files"
tags: ["Incidents"]
---

# Detach files from incident

`DELETE /incidents/{id}/files`

Detach files from this incident.

Removes the association between the file and incident without deleting the file.

## Request body

- object
  - `file` integer, required — File ID to detach

## Response `204`

File detached successfully

## Other responses

- `400` — Invalid file data
- `404` — Incident or file not found

---

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