stack kb fleet-package-policies delete-fleet-package-policies-packagepolicyid cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack kb fleet-package-policies delete-fleet-package-policies-packagepolicyid \
--package-policy-id <package-policy-id> \
[options]
Delete a package policy
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--package-policy-idstringrequired- The ID of the package policy
--force- When true, delete the package policy even if it is managed
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--yes- confirm destructive action without prompting
--json-
output as JSON