Update a conversation's access control
- Base URL
-
https://{kibana_url}
- PUT /api/agent_builder/conversations/{conversation_id}/access_control
Replace a conversation's access mode and member list. Only the conversation owner can call this endpoint; every other caller receives a not-found response. Each call replaces the entire access control — the most recent successful update wins. Members can read and continue the conversation, but still need access to the conversation's agent. To learn more about agent conversations, refer to the agent chat documentation.
Required authorization
- Privileges agentBuilder:read
Request body
-
access_moderequired -
Access-control mode:
private(only the owner and the listed members can read and continue the conversation),public(any user with access to the conversation's agent can read and continue it). -
Values:
privatepublic -
entriesobject · max items: 100required -
Members to share the conversation with. The list replaces the stored one; submit an empty list to unshare. Entries naming the owner are ignored. Must be empty when
access_modeispublic; repeated ids are rejected.
Responses
Indicates a successful response
Bad Request — the request body failed validation.
Not Found — no conversation with this ID is readable by the caller, or the caller is not its owner. Matches the existing conversationNotFound shape, so members cannot distinguish a conversation they may not re-share from one that does not exist.