Set visibility
set_visibilityUse when the user says only certain people should see it, make it private, or open it to anyone with the link. Sets a site's visibility. public lets anyone with the link view; allowlist restricts to verified people on the allowlist (Pro only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The id of the site to update | |
| visibility | Yes | `public` or `allowlist` | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |