Skip to main content

Documentation Index

Fetch the complete documentation index at: https://algolia.com/llms.txt

Use this file to discover all available pages before exploring further.

Usage
algolia indices delete <index> [flags]

Examples

Delete the index named “MOVIES”:
algolia indices delete MOVIES
Delete the index named “MOVIES” and its replicas:
algolia indices delete MOVIES --include-replicas
Delete the index named “MOVIES”, skipping the confirmation prompt:
algolia indices delete MOVIES -y
Delete multiple indices:
algolia indices delete MOVIES SERIES ANIMES

Flags

-y, --confirm
Skip the delete index confirmation prompt
--dry-run
Validate and preview the delete request without sending it
-r, --include-replicas
delete replica indices too
-w, --wait
wait for the operation to complete

Output formatting flags

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