---
title: "Returns a list of deletion warnings for a folder"
method: GET
path: "/dam/folders/{folder_id}/deletion-warnings"
tags: ["DAM: Folders"]
---

# Returns a list of deletion warnings for a folder

`GET /dam/folders/{folder_id}/deletion-warnings`

## Request

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

## Retrieve Folder Deletion Warnings
Endpoint for retrieving a list of deletion warnings for a folder. The folder must not be trashed, and the token user must have access to the folder.

## Path parameters

- `folder_id` string, required

## Response `200`

success

- FolderDeletionWarningMeta
  - `meta` object: Folder Deletion Warning Meta. Only `folder_id` is returned when the client has no feature or integration enabled that affects deletion.
    - `folder_id` string, required
    - `deletable` boolean
    - `is_cdn_folder` boolean
    - `is_mirrored` boolean
    - `is_synced_mirror_subfolder` boolean
    - `is_used_in_smart_folder_filters` boolean
    - `has_subfolders` boolean
    - `has_files_used_in_pim` boolean
    - `has_files_with_active_cdn` boolean
    - `has_files_with_consent_agreements` boolean
    - `has_files_with_external_references` boolean

## Other responses

- `401`: Unauthorized

---

[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)
