---
title: "Delete a file"
method: DELETE
path: "/v1/sessions/{sessionId}/files/{path}"
tags: ["Files"]
---

# Delete a file

`DELETE /v1/sessions/{sessionId}/files/{path}`

Delete a file from a session

## Path parameters

- `sessionId` string, required
- `path` string, required

## Response `204`

File successfully deleted

## Other responses

- `401` — An error response from the API
- `404` — An error response from the API
- `409` — An error response from the API
- `500` — An error response from the API

---

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