# Update a glossary by ID

```
PATCH 
/enhancements/speech/glossaries/:id
```

The `terms` list is replaced as a whole. Each entry is a `{ source, target }` pair; the source term must exactly match the source captions, including case. Entries are cleaned up automatically (whitespace normalized, empty and duplicate entries dropped); entries with an empty source or target, a backslash, double quote or line break, or the same source with a different target fail with `invalid_value`. The `sourceLanguage` and `targetLanguage` cannot be changed while the glossary is connected to an ingest (409 `speech_glossary_in_use`).

## Request

## Responses

**200**

Updated glossary

**409**

The languages cannot be changed: the glossary is connected to one or more ingests
