stack kb agent-builder put-agent-builder-conversations-conversation-id-access-control cli command
Auth required
Idempotent
Scope: global
elastic stack kb agent-builder put-agent-builder-conversations-conversation-id-access-control \
--conversation-id <conversation-id> \
--access-mode <access-mode> \
--entries <entries> \
[options]
Update a conversation's access control
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--conversation-idstringrequired- The unique identifier of the conversation whose access control to update.
--access-modeenumrequired-
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: private, public
--entriesstring[]required-
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.Repeatable: pass
--entriesmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON