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

# Delete file

`DELETE /files/{fileID}`

Permanently delete a File and associated message. It cannot be undone.

## Path parameters

- `fileID` string, required

## Headers

- `X-Request-ID` string

## Response `200`

Permanently deleted File.

## Other responses

- `404` — A File with the specified ID was not found.

## Changes

- **2019-03-27** `7e3e24800c15` — 1 warning, 4 info
  - deleted the `header` request parameter `X-Request-ID`
  - api operation id `deleteWireFileByID` removed and replaced with `deleteWIREFile`
  - api tag `Files` added
  - api tag `Wire Files` removed
  - …1 more

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

---

[API](https://skmtc.dev/moov-io/apis/wire-api.md) · [All operations](https://skmtc.dev/moov-io/apis/wire-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/moov-io/wire-api/revisions/9edefe9f84bb/schema)
