stack kb elastic-agent-actions post-fleet-agents-bulk-unenroll cli command

Auth required
elastic stack kb elastic-agent-actions post-fleet-agents-bulk-unenroll \
  --agents <agents> \
  [options]
		

Bulk unenroll agents

--agents string required

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

--batch-size number
--dry-run
--force
Unenrolls hosted agents too
--include-inactive
When passing agents by KQL query, unenrolls inactive agents too
--revoke
Revokes API keys of agents
--input-file string
path to a JSON file to use as command input
--json

output as JSON