Share a notebook
notebook_set_sharingShare a notebook or change its sharing: add, change or remove people (role viewer, editor or remove; the owner cannot change), set the link to public or restricted, allowCopies (public link only; going restricted resets it to allowed), and viewLevel (full, or chat only on paid plans). People added are emailed unless notify is false. Returns the sharing as it is now. POST /sharing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Link access: public (anyone with the link) or restricted (only the people added). | |
| notify | No | Email the people added (default true). | |
| people | No | People to add, change or remove: [{ email, role: viewer | editor | remove }]. | |
| notebook | Yes | Notebook id (user:<id>-<email>-notebook:<uuid>), from notebook_list_notebooks or notebook_create_notebook. | |
| viewLevel | No | What viewers can open. | |
| allowCopies | No | Let viewers copy the notebook. |