---
title: "Delete File Folder Endpoint"
method: DELETE
path: "/api/v1/file-folders/{folder_id}"
tags: ["file-folders"]
---

# Delete File Folder Endpoint

`DELETE /api/v1/file-folders/{folder_id}`

Cascade-delete a folder. Non-empty/merge folders require type-to-confirm.

## Path parameters

- `folder_id` string, uuid, required

## Request body

- FileFolderDelete — DELETE /file-folders/{id} payload — the type-to-confirm guard. The frontend renders ``"Type the folder name to confirm"`` and only sends ``confirm_with_name`` once the typed value matches; the backend re-checks so the gate can't be bypassed by a hand-rolled client.
  - `confirm_with_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
