---
title: "Delete a folder; its QRs move back to the company root"
method: DELETE
path: "/api/v1/folders/{id}"
tags: ["Folders"]
---

# Delete a folder; its QRs move back to the company root

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

## Request

- Base URL: `https://qrlia.dev.castlesoft.eu`
- URL: `https://qrlia.dev.castlesoft.eu/api/v1/folders/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `qrc_session`

## Path parameters

- `id` string, uuid, required

## Response `200`

Deleted

- object
  - `ok` true, required
  - `id` string, required
  - `qrsMovedToRoot` number, required

## Other responses

- `400`: Validation failed
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal

---

[API](https://skmtc.dev/qrlia/apis/qrlia-api.md) · [All operations](https://skmtc.dev/qrlia/apis/qrlia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qrlia/apis/qrlia-api/revisions/01c5dd6002ab?raw)
