Skip to main content
Usage

Examples

Delete the index named “MOVIES”:
Delete the index named “MOVIES” and its replicas:
Delete the index named “MOVIES”, skipping the confirmation prompt:
Delete multiple indices:

Flags

Skip the delete index confirmation prompt
Validate and preview the delete request without sending it
delete replica indices too
wait for the operation to complete

Output formatting flags

If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.
Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
Template string or path to a template file to use when —output=jsonpath, —output=jsonpath-file.
Last modified on July 15, 2026