# veryfront__delete_upload_folder

Delete a folder's visibility settings and child folders and soft-delete every upload under its prefix. Requires project.uploads.write; API keys also need delete scope.

Risk: mutating.

## Arguments

| Name                | Type    | Required | Description                                                                                                                                  |
| ------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `folder_path`       | string  |          | Folder prefix whose visibility settings and contained files are removed; files are soft-deleted. Requires upload write and path edit access. |
| `path`              | string  |          | Another spelling of folder\_path. Send one of the two.                                                                                       |
| `confirm`           | boolean | Yes      | Must be true to confirm folder deletion and soft deletion of contained files.                                                                |
| `project_reference` | string  |          | Project ID or slug.                                                                                                                          |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_upload_folder",
    "arguments": {
      "confirm": "<confirm>"
    }
  }
}
```
