---
title: "Delete a folder"
method: DELETE
path: "/analytics/v1/folders/{id}"
tags: ["Folders"]
---

# Delete a folder

`DELETE /analytics/v1/folders/{id}`

Deletes the specified folder. All nested folders will be deleted. Any reports or allocations contained in the folder are moved to the root.

## Path parameters

- `id` string, required

## Response `204`

No Content - Folder deleted.

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `404` — Not Found - The requested resource does not exist.
- `500` — Internal Server Error - Something went wrong with the DoiT API server.

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/revisions/9416402fc119/schema)
