---
title: "Delete a file"
method: DELETE
path: "/public/files/{id}"
tags: ["Files"]
---

# Delete a file

`DELETE /public/files/{id}`

## Request

- Base URL: `https://api.johnsessentials.com/api/v1`
- URL: `https://api.johnsessentials.com/api/v1/public/files/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `204`

Deleted.

## Other responses

- `404`: Resource not found.

---

[API](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api.md) · [All operations](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api/llms.txt) · [OpenAPI document](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api/revisions/56586ff78e6d?raw)
