---
title: "Remove file version"
method: DELETE
path: "/files/{file_id}/versions/{file_version_id}"
tags: ["File versions"]
---

# Remove file version

`DELETE /files/{file_id}/versions/{file_version_id}`

Move a file version to the trash.

Versions are only tracked for Box users with premium accounts.

## Path parameters

- `file_id` string, required
- `file_version_id` string, required

## Headers

- `if-match` string

## Response `204`

Returns an empty response when the file has been successfully
deleted.

## Other responses

- `default` — An unexpected client error.

---

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