---
title: "Changes to trash File or Directory"
method: POST
path: "/api/assets/trash"
---

# Changes to trash File or Directory

`POST /api/assets/trash`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 29 revisions.

- **2026-06-13** `ad1934145230` — 1 info
- **2026-06-13** `5090ff5674b4` — 1 info
- **2023-10-20** `bbfe1dbc457f` — 1 breaking

## Changes

- **2026-06-13** `ad1934145230` — 1 info
  - api operation id `AssetsController_TrashFileOrDir` removed and replaced with `AssetsController_trashFileOrDir`
- **2026-06-13** `5090ff5674b4` — 1 info
  - endpoint added
- **2023-10-20** `bbfe1dbc457f` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/openwebgal/apis/webgal-terre-api/docs/api/assets/trash/post.md) · [API](https://skmtc.dev/openwebgal/apis/webgal-terre-api.md) · [Page](https://skmtc.dev/openwebgal/apis/webgal-terre-api/changes/api/assets/trash/post)
