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-id string required
The unique identifier of the conversation whose access control to update.
--access-mode enum required

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

--entries string[] 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_mode is public; repeated ids are rejected.

Repeatable: pass --entries multiple times to supply more than one value

--input-file string
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