stack es slm delete-lifecycle cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack es slm delete-lifecycle --policy-id <policy-id> [options]
Delete a policy.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--policy-idstringrequired- The id of the snapshot lifecycle policy to remove
--master-timeoutstring- The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
--timeoutstring- The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--input-filestring- 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