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
--agentsstringrequired-
Repeatable: pass
--agentsmultiple times to supply more than one value --batch-sizenumber--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-filestring- path to a JSON file to use as command input
--json-
output as JSON