Move or rename
cloudinary_moveMove or rename assets and folders with a preview plan and confirm token before changes run. Supports dry runs, overwrite control, and dynamic folder mode URL handling.
Instructions
Move or rename an asset, or move a folder (dynamic folder mode). In dynamic folder mode an asset move keeps its URL unless change_public_id is set. The first call returns needs_confirmation with the plan and a confirm_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Asset (name, path from the root, public ID, asset_id:<id>) or folder to move | |
| target | Yes | New path from the root, or an existing folder (end with "/" to force "into folder") | |
| dry_run | No | Only show what would happen; changes nothing and never returns a confirm_token | |
| overwrite | No | Replace an existing asset at the target (default: false) | |
| 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 (default: "upload") | |
| resource_type | No | Resource type (default: "all") | |
| change_public_id | No | Dynamic folder mode: also rename the public ID (changes the delivery URL) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||