---
title: "Changes to Remove file"
method: DELETE
path: "/2/drive/{drive_id}/trash/{file_id}"
---

# Changes to Remove file

`DELETE /2/drive/{drive_id}/trash/{file_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 40 revisions.

- **2026-10-26** `e6daf54dcb44`: 1 warning

## Changes

- **2026-10-26** `e6daf54dcb44`: 1 warning
  - added the new `forbidden_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`

---

[Operation](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/docs/2/drive/:drive_id/trash/:file_id/delete.md) - [API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [Page](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/changes/2/drive/:drive_id/trash/:file_id/delete)
