edit_person
Rename, hide or unhide a Synology Photos person, or set their cover photo. Use it to update one face-recognition group; use merge_people to combine duplicate groups.
Instructions
Change one person (a face-recognition group) in Synology Photos: rename them, hide or unhide them in the people list, or set their cover photo. To combine groups that are the same person, use merge_people.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new name; `""` makes them unnamed. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| action | Yes | `rename` (`name`), `hide`, `unhide` or `set_cover` (`item_id`). | |
| person | Yes | Person ID (list_photo_collections type=person) or unique name. Hidden ones need include_hidden=true there. | |
| item_id | No | An item ID from list_photos of a photo showing this person. |