Skip to main content

Delete a media file or directory

POST 

/api/delete-media

Permanently deletes a file or directory inside the media library. If a deleted file (or any file inside a deleted directory) is assigned to a media-source slot, Insight stops that slot and clears the assignment, and it discards any cached FPS renditions built from the deleted files. Prefer stopping active sources first, and always obtain the relative path from the media tree rather than sending an absolute host path.

Request​

Responses​

The path was deleted.