---
title: "Delete a file or directory"
method: DELETE
path: "/files/{fid}/{path}"
tags: ["Files Management"]
---

# Delete a file or directory

`DELETE /files/{fid}/{path}`

Delete a file or directory from the execution `in` or `out` directory.

## Path parameters

- `fid` string, required
- `path` string, required

## Response `204`

Request fulfilled, nothing follows

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/masumi-network/apis/kodosumi-api.md) · [All operations](https://skmtc.net/masumi-network/apis/kodosumi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/masumi-network/kodosumi-api/versions/2092ce918678/schema)
