Update a conversation's access control
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] Route required privileges: agentBuilder:read.
Path Parameters
-
conversation_idstring · max: 256required -
The unique identifier of the conversation whose access control to update.
Request
-
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: 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. -
idstring · min: 1 · max: 1024required -
Stable identifier of the user to share the conversation with: a Kibana user profile uid. Users without a profile cannot be granted access.
-
rolerequired -
Role granted to the principal.
memberis the only role: it grants read and converse access to the conversation. -
Values:
member -
typerequired -
Values:
user
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.