> ## 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 clear

> Remove all records from the specified index but don't delete the index.

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

## Examples

Clear the index named "MOVIES":

```sh icon=square-terminal theme={"system"}
algolia index clear MOVIES
```

## Flags

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

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