Loading

stack kb elastic-agent-actions post-fleet-agents-agentid-reassign cli command

Auth required
elastic stack kb elastic-agent-actions post-fleet-agents-agentid-reassign \
  --agent-id <agent-id> \
  --policy-id <policy-id> \
  [options]
		

Reassign an agent

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--agent-id string required
The agent ID
--policy-id string required
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON