---
title: "Delete File Revision"
method: DELETE
path: "/api/v1/files/{file_id}/revisions/{revision_number}"
tags: ["v1", "File Manager"]
---

# Delete File Revision

`DELETE /api/v1/files/{file_id}/revisions/{revision_number}`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/files/{file_id}/revisions/{revision_number}`
- Auth: none declared

Permanently delete one historical revision — its storage bytes AND
its file_revisions row. The CURRENT revision (the files row itself) has
no delete route here; only past snapshots are deletable.

## Path parameters

- `file_id` integer, required: files.id
- `revision_number` integer, required: file_revisions.revision_number

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
