---
title: "Delete a file."
method: DELETE
path: "/api/media/file/{path}"
tags: ["Media"]
---

# Delete a file.

`DELETE /api/media/file/{path}`

## Path parameters

- `path` string, required

## Response `200`

Delete successful

- MediaOperationResponse — Response for media operations.
  - `message` string, required — Human-readable message
  - `success` boolean, required — Whether the operation succeeded

## Other responses

- `400` — Invalid path
- `404` — File not found

---

[API](https://skmtc.net/eyevinn/apis/strom-api.md) · [All operations](https://skmtc.net/eyevinn/apis/strom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eyevinn/strom-api/versions/c96558b86012/schema)
