stack kb fleet-package-policies post-fleet-package-policies-delete cli command
Auth required
elastic stack kb fleet-package-policies post-fleet-package-policies-delete \
--package-policy-ids <package-policy-ids> \
[options]
Bulk delete package policies
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--package-policy-idsstring[]required-
Repeatable: pass
--package-policy-idsmultiple times to supply more than one value --onboarding-deployment-idstring- ID of the cloud onboarding instance that manages the package policies. Required to change package policies managed by a cloud onboarding instance; only the onboarding flow is expected to set it. Requests that change a managed package policy without a matching ID are rejected with a 400 error, and
forcedoes not bypass this check. A bulk delete that includes such a package policy is rejected as a whole. --force--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)
--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