> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# algolia indices delete

> Deletes the specified index and all its settings.

```txt Usage theme={"system"}
algolia indices delete <index> [flags]
```

## Examples

Delete the index named "MOVIES":

```sh icon=square-terminal theme={"system"}
algolia indices delete MOVIES
```

Delete the index named "MOVIES" and its replicas:

```sh icon=square-terminal theme={"system"}
algolia indices delete MOVIES --include-replicas
```

Delete the index named "MOVIES", skipping the confirmation prompt:

```sh icon=square-terminal theme={"system"}
algolia indices delete MOVIES -y
```

Delete multiple indices:

```sh icon=square-terminal theme={"system"}
algolia indices delete MOVIES SERIES ANIMES
```

## Flags

<ParamField body="-y, --confirm">
  Skip the delete index confirmation prompt
</ParamField>

<ParamField body="--dry-run">
  Validate and preview the delete request without sending it
</ParamField>

<ParamField body="-r, --include-replicas">
  delete replica indices too
</ParamField>

<ParamField body="-w, --wait">
  wait for the operation to complete
</ParamField>

## Output formatting flags

<ParamField body="--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.
</ParamField>

<ParamField body="-o, --output">
  Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
</ParamField>

<ParamField body="--template">
  Template string or path to a template file to use when --output=jsonpath, --output=jsonpath-file.
</ParamField>
