stack es indices delete-template cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack es indices delete-template --name <name> [options]
Delete a legacy index template.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namestringrequired- The name of the legacy index template to delete. Wildcard (
*) expressions are supported. --master-timeoutstring- 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- 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