v21

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-032560235.1 KB
file

Delete file or directory

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

delete/api/file/{DirName}/**

Response

File or directory deleted

object required