Loading

stack kb elastic-agent-policies post-fleet-agent-policies-delete cli command

Auth required
elastic stack kb elastic-agent-policies post-fleet-agent-policies-delete \
  --agent-policy-id <agent-policy-id> \
  [options]
		

Delete an agent policy

Behaviour flags:

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

--agent-policy-id string required
The ID of the agent policy
--[no-]force
bypass validation checks that can prevent agent policy deletion
--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