---
title: "Delete File"
method: DELETE
path: "/v1/files/{id}"
---

# Delete File

`DELETE /v1/files/{id}`

This API endpoint permanently removes a specific file, folder, or link. <br><br> If the deleted object is a folder, this operation is not recursive and files within the folder will not be deleted. You will receive a ‘Folder is not empty’ error message and the folder will not be deleted.

## Path parameters

- `id` string, required

## Response `200`

200

- object
  - `id` string
  - `object` string
  - `deleted` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/assembly/apis/core-resources.md) · [All operations](https://skmtc.net/assembly/apis/core-resources/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/assembly/core-resources/versions/28a9e7d13a8c/schema)
