---
title: "file/{DirName}/**"
method: DELETE
path: "/api/file/{DirName}/**"
tags: ["file"]
---

# file/{DirName}/**

`DELETE /api/file/{DirName}/**`

Deletes the specified file or directory from a media directory. Validates the resolved path against the allowed base directory to prevent path traversal.

## Response `200`

Success

- object

---

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