Delete assets or folders
cloudinary_deleteDeletes a Cloudinary asset, wildcard matches, or an entire folder recursively, with a preview step and confirm token so nothing is removed until you approve the plan.
Instructions
Delete an asset, the matches of a wildcard, or (with recursive) a folder and everything in it. The first call returns needs_confirmation with the full plan and a confirm_token; nothing is deleted until the call is repeated with that token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Asset name, path from the root, public ID, folder, or wildcard pattern | |
| dry_run | No | Only show what would happen; changes nothing and never returns a confirm_token | |
| recursive | No | Delete folders with everything in them | |
| confirm_token | No | Token from a previous call with the same arguments that returned needs_confirmation; runs exactly that plan | |
| delivery_type | No | Delivery type filter (default: "upload"; recursive deletes cover all types) | |
| resource_type | No | Resource type filter (default: "all") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||