Photos: Delete folders
delete_photo_foldersDelete Synology Photos folders and their contents, including files and subfolders. Moves items to the share recycle bin when available; otherwise deletion is permanent, so confirm before running.
Instructions
Delete folders in Synology Photos with everything in them (files and subfolders). They go to the recycle bin of the share that holds the space if it has one, otherwise they're gone. A large delete keeps running on the NAS and the reply gives a handle for photo_task. Confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| folders | Yes | Not the space root; at most 1,000. Folder ID (list_photo_collections type=folder) or path, such as `/Trips/2024`. |