---
title: "Delete folder permanently"
method: POST
path: "/api/v1/assets/folders/_delete"
tags: ["Web Assets"]
---

# Delete folder permanently

`POST /api/v1/assets/folders/_delete`

Permanently delete a folder and all its contents from the system using its path

## Request body

- FolderDeletionRequestForm
  - `assetPath` string, required — Full path to the folder to be deleted permanently (must end with /)

## Response `200`

Folder deleted successfully

- ResponseEntityBooleanView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` boolean
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Unauthorized access
- `403` — Insufficient permissions to delete folder
- `404` — Folder not found

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
