Photos: Delete items
delete_photosDelete Synology Photos items by ID from a personal or shared space. Removes the photo files themselves to the recycle bin or permanently; large deletions run on the NAS and return a task handle.
Instructions
Delete Synology Photos items (the files themselves) by id. 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. To only take items out of an album, use photo_album remove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Item IDs from list_photos, at most 1,000 per call. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |