stack kb security-endpoint-management-api endpoint-script-library-delete-script cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack kb security-endpoint-management-api endpoint-script-library-delete-script \
--script-id <script-id> \
[options]
Delete a script
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--script-idstringrequired- The ID of the script entry to be deleted.
--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