---
title: "Delete a folder"
method: DELETE
path: "/matters/{matterId}/documents/folders/{folderId}"
tags: ["Folders"]
---

# Delete a folder

`DELETE /matters/{matterId}/documents/folders/{folderId}`

Deletes a folder belonging to the specified matter.

## Path parameters

- `matterId` string, uuid, required
- `folderId` string, uuid, required

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object of the folder to be deleted.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `400` — When the folder does not belong to the specified matter.

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/ffc7fffa0d5c/schema)
