Set Chat Visibility
Sets the chat’s access level: project (every project member can
read it), restricted (only the owner and the audience managed
under /v1/chats/{id}/members), or private (owner only).
Changing the level to restricted keeps any audience the chat
already had; switching to project or private clears it. Only
users who can update the chat may change its visibility.
Authorizations
Personal Access Token, sent verbatim as pat_<32 chars>. PATs are
minted from the Chief settings UI.
Headers
Project identifier scoping the request. Required on every
project-scoped public endpoint. Missing or malformed values respond
with HTTP 400 and code publicapi.tenancy.project.missing.
^project_[a-z0-9]{20}$Path Parameters
Chat identifier.
^chat_[a-z0-9]{20}$Body
Chat access level. project: every project member can read it.
restricted: only the owner and the audience managed under the
members sub-resource. private: owner only.
project, restricted, private Response
Visibility updated.