---
title: "Deletes a single DAM folder and its containing files."
method: DELETE
path: "/dam/folders/{folder_id}"
tags: ["DAM: Folders"]
---

# Deletes a single DAM folder and its containing files.

`DELETE /dam/folders/{folder_id}`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/folders/{folder_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/folders/:folder_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Delete DAM Folder
Endpoint for deleting a folder. The folder may not be trashed, locked, contain subfolders, and the token user must have delete access to the file's original folder.
Additonally, the folder must not contain any files with external references.

## Path parameters

- `folder_id` string, required

## Response `204`

no content

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `423`: Locked

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
