update_collective_share
Update a collective share to set if a public link allows editing and change its password.
Instructions
Change whether a public link lets people edit, and its password. Needs edit rights in the collective.
Args: collective_id: The numeric collective ID. token: The share token, from list_collective_shares. editable: Whether people with the link may edit. page_id: The page the link is for, 0 for the whole collective (default: looked up from the token). password: A new password; an empty string removes it; leave out to keep it.
Returns: JSON with the share afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| page_id | No | ||
| editable | Yes | ||
| password | No | ||
| collective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |