stack kb elastic-agent-actions post-fleet-agents-bulk-reassign cli command
Auth required
elastic stack kb elastic-agent-actions post-fleet-agents-bulk-reassign \
--agents <agents> \
--policy-id <policy-id> \
[options]
Bulk reassign agents
--agentsstringrequired-
Repeatable: pass
--agentsmultiple times to supply more than one value --policy-idstringrequired--batch-sizenumber--dry-run--include-inactive--input-filestring- path to a JSON file to use as command input
--json-
output as JSON