---
title: "Delete a library folder"
method: DELETE
path: "/workspaces/{workspaceId}/library/folders/{folderId}"
tags: ["Library"]
---

# Delete a library folder

`DELETE /workspaces/{workspaceId}/library/folders/{folderId}`

## Request

- Base URL: `https://app.flora.ai/api/v1`
- URL: `https://app.flora.ai/api/v1/workspaces/{workspaceId}/library/folders/{folderId}`
- Auth: HTTP bearer

Deletes a library folder owned by the authenticated user, detaching any saved nodes still in it. Used by the Web Clipper to clean up an empty folder when a clip saved nothing.

## Path parameters

- `workspaceId` string, required: Workspace identifier
- `folderId` string, required: Library folder identifier

## Response `200`

Library folder deleted.

- object
  - `folder_id` string, required: Library folder identifier
  - `deleted` unknown, required
  - `workspace_id` string, required: Workspace identifier

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

## Changes

- **2026-10-28** `a8351619f225`: 9 warning
  - added the new `not_configured` enum value to the `error/code` response property for the response status `400`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `401`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `402`
  - added the new `not_configured` enum value to the `error/code` response property for the response status `403`
  - …5 more
- **2026-10-16** `e54130373b10`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/changes/workspaces/:workspaceId/library/folders/:folderId/delete.md)

---

[API](https://skmtc.dev/florafauna-ai/apis/flora-ai-api.md) - [All operations](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/florafauna-ai/apis/flora-ai-api/revisions/87cfe2c4ac29?raw)
