---
title: "Changes to Trash"
method: DELETE
path: "/2/drive/{drive_id}/files/{file_id}"
---

# Changes to Trash

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 40 revisions.

- **2026-10-26** `e6daf54dcb44`: 2 warning, 2 info

## Changes

- **2026-10-26** `e6daf54dcb44`: 2 warning, 2 info
  - added the new `forbidden_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`
  - added the new `lock_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`
  - added the non-success response with the status `409`
  - added the non-success response with the status `422`

---

[Operation](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/docs/2/drive/:drive_id/files/: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/files/:file_id/delete)
