photo_share_link
Share a Synology Photos personal album by link, set public view/download access, password, expiry and members, or stop sharing while keeping the link.
Instructions
Share a Synology Photos album by link, change the link's public access, password, expiry and members, or stop sharing. A password or an expiry needs public view or download: Photos drops them on a link without public access, so they're refused there. Stopping keeps the link, and sharing again brings it back with its settings reset. Personal space albums only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album | Yes | Album ID (list_photo_collections type=album) or unique name. | |
| action | Yes | `share` (turns the link on, public access `none` unless given; returns the link), `update` (an album already shared) or `stop` (turns it off; no settings). | |
| public | No | What anyone with the link can do: `none` (invited members only), `view` or `download`. `none` also clears the password and expiry. | |
| expires | No | Link expiry: `YYYY-MM-DD` (end of that day, UTC), a date-time with offset (`2026-12-31T18:00-05:00`) or `never`. Except `never`, needs public `view` or `download`. | |
| members | No | DSM users or groups, each `{"name": ..., "type": "user" (default) or "group", "role": "view" (default), "download", "upload" or "none" (removes)}`. | |
| password | No | Link password; `""` removes it. Needs public `view` or `download`. |