stack kb elastic-agents post-fleet-agents-bulk-privilege-level-change cli command
Auth required
elastic stack kb elastic-agents post-fleet-agents-bulk-privilege-level-change \
--agents <agents> \
[options]
Bulk change agent privilege level
--agentsstringrequired-
Repeatable: pass
--agentsmultiple times to supply more than one value --batch-sizenumber--dry-run--user-infostring--input-filestring- path to a JSON file to use as command input
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON