create_share
Share a Nextcloud file or folder as a public link or with a user, group, or email address; public shares return the link.
Instructions
Share a file or folder: a public link (default), or with a user, group or email address. Returns the link for public shares.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note for the recipient | |
| path | Yes | File or folder path | |
| type | No | Share type | link |
| label | No | Label of a public link | |
| password | No | Password for a public link | |
| share_with | No | User ID, group ID or email (not for links) | |
| expire_date | No | Expiry date YYYY-MM-DD | |
| permissions | No | read; edit (read+update+create+delete); upload_only (file drop, folders and links only) | read |