---
title: "Delete a file or folder."
method: DELETE
path: "/api/v1/files/{storage}/{path}"
---

# Delete a file or folder.

`DELETE /api/v1/files/{storage}/{path}`

## Response `204`

No Content No Error

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict

## Changes

- **2022-10-13** `6a5c6d42113e` — 2 info
  - added the non-success response with the status `401`
  - removed the non-success response with the status `403`
- **2022-08-31** `1e6876397b91` — 1 info
  - endpoint added
- **2021-02-22** `30eda14983ed` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/v1/files/:storage/:path/delete.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/418be1c4e97c/schema)
