create_form_share
Share a Nextcloud form with a user, group, circle, or public link. Set access permissions like submit, edit, or view results to control what recipients can do.
Instructions
Share a form with a user, group, circle, or via public link.
Args: form_id: Numeric form id. share_type: 0=user, 1=group, 3=link (public), 7=circle. share_with: User/group/circle id to share with. Omit for link shares. permissions: Array of strings from: "submit" (fill out), "edit" (modify form definition), "results" (view submissions), "results_delete" (delete submissions), "embed" (render in other pages). Defaults to ["submit"].
Returns: JSON of the new share with its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| share_type | Yes | ||
| share_with | No | ||
| permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |