---
title: "Delete a file"
method: DELETE
path: "/me/files/{fileName}"
tags: ["me"]
---

# Delete a file

`DELETE /me/files/{fileName}`

## Path parameters

- `fileName` string, required

## Response `204`

File deleted successfully

## Other responses

- `404` — File not found

## Changes

- **2026-07-17** `4ff151025f7c` — 1 warning
  - changed the pattern of the `path` request parameter `fileName` from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i`
- **2025-01-23** `65605c05e7f7` — 1 breaking, 1 warning
  - added the new path request parameter `fileName`
  - deleted the `path` request parameter `file_name`
- **2025-01-23** `4905576a1c1e` — 1 breaking, 1 warning
  - added the new path request parameter `file_name`
  - deleted the `path` request parameter `fileName`
- **2025-01-22** `7a2b2f42a2f2` — 1 breaking, 1 warning
  - added the new path request parameter `fileName`
  - deleted the `path` request parameter `file_name`
- **2025-01-22** `d3210261c539` — 1 info
  - api operation id `deleteMyFile` was added

[Full history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/me/files/:fileName/delete.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lapisla-prover/lapisla-prover-api/revisions/4ff151025f7c/schema)
