---
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

- **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
- **2025-01-21** `ad4cd30302ac` — 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2025-01-20** `93e312846ab3` — 3 info
  - api operation id `deleteMyFile` removed and replaced with ``
  - the endpoint scheme security `BearerAuth` was removed from the API
  - removed the pattern `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i` from the `path` request parameter `fileName`

[Change 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/7a2b2f42a2f2/schema)
