---
title: "Delete folder by path"
method: DELETE
path: "/files/2026-09-beta/folders/{folderPath}"
tags: ["Basic"]
---

# Delete folder by path

`DELETE /files/2026-09-beta/folders/{folderPath}`

Delete a folder in your HubSpot account using its path. This operation deletes the folder and its contents recursively.

## Path parameters

- `folderPath` string, required

## Response `204`

No content

## Other responses

- `default` — An error occurred.

## Changes

- **2026-08-17** (2026-09-beta) `e45d1bdf10a4` — 1 info
  - endpoint added
- **2026-07-13** (2026-09-beta) `0685ec3d09b4` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2026-09-beta) `2948e097f463` — 1 info
  - endpoint added
- **2026-07-13** (2026-09-beta) `0e6a6e6ac0c1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hubspot/apis/files-files/changes/files/2026-09-beta/folders/:folderPath/delete.md)

---

[API](https://skmtc.dev/hubspot/apis/files-files.md) · [All operations](https://skmtc.dev/hubspot/apis/files-files/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hubspot/files-files/revisions/e45d1bdf10a4/schema)
