Update doc settings
update_doc_settingsDestructiveIdempotent
Change a doc the user OWNS: password protection (password_on / password_value), ask viewers for their email before viewing (ask_name), allow file downloads (allow_downloads), view notifications for the owner (notify), and the doc's title (title). Only the fields you pass are changed. Renaming changes the display title only; the share link and slug never change, so links already sent keep working. Identify the doc via doc_name (fuzzy-matched) or slug.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The doc's slug or share URL. | |
| title | No | A new title for the doc (max 500 chars). The link stays the same. | |
| notify | No | Notify the owner on views. | |
| account | No | Email address of the farm to act on. Omit for the signed-in farm. Only a connected account is accepted; call list_accounts to see which. | |
| ask_name | No | Ask each viewer for their email before showing the doc. Despite the field name it asks for an email, not a name. | |
| doc_name | No | Name of the doc (fuzzy-matched). Pass this or slug. | |
| password_on | No | Require a password to view. | |
| password_value | No | The password. Setting this also turns password_on on. | |
| allow_downloads | No | Let viewers download the original file. |