Bucket Update Publication Access
bucket_update_publication_accessChange an already-published website's access settings WITHOUT republishing its files or URL. Use this to switch a live site between public, password, and Require Email, or rotate the password. Same-storage-class changes (e.g. password <-> Require Email, rotate password) are instant settings updates; switching public <-> protected re-keys the files and may take longer but keeps the site live. To publish a NEW VERSION of the files, use bucket_publish / bucket_publish_password_protected instead. Never put passwords in URLs. An access-mode change fails with BUCKET_VISIBILITY_CHANGE_LOCKED if the bucket's visibility is locked (unlocking is web-UI-only — ask the user); rotating the password or other same-access-mode settings stay allowed while locked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | Exact access password to set (the visitor's code, never placed in URLs). Omit to keep the current password; set regenerate_password to rotate it. | |
| bucket_id | Yes | Revdoku bucket id returned by bucket_list or bucket_get, for example bkt_... | |
| access_mode | No | Target access mode: public, password, or require_email. Omit to keep the current mode. | |
| access_info_fields | No | Visitor information fields to request on the protected website access form. | |
| regenerate_password | No | Rotate to a new auto-generated password. Ignored when an explicit password is provided. | |
| access_comment_required | No | For protected sites with a comment field, require visitors to leave a comment (defaults to optional). | |
| access_comment_placeholder | No | For protected sites, custom placeholder text for the visitor comment box on the access form. Omit for the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guidance | No | ||
| publication | Yes |