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

# algolia synonyms delete

> Delete synonyms from an index.

```txt Usage theme={"system"}
algolia synonyms delete <index> --synonyms <synonym-ids> --confirm [flags]
```

## Examples

Delete one single synonym with the ID "1" from the "MOVIES" index:

```sh icon=square-terminal theme={"system"}
algolia synonyms delete MOVIES --synonym-ids 1
```

Delete multiple synonyms with the IDs "1" and "2" from the "MOVIES" index:

```sh icon=square-terminal theme={"system"}
algolia synonyms delete MOVIES --synonym-ids 1,2
```

## Flags

**-y, --confirm**

Skip confirmation prompt

**--forward-to-replicas**

Whether to delete synonyms also from the replicas

**--synonym-ids**

Synonym IDs to delete.

**-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.
