---
title: "Updates a synonym"
method: PUT
path: "/synonym"
tags: ["Synonym"]
---

# Updates a synonym

`PUT /synonym`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Request body

- SynonymApiUpdateModel: Model to update a synonym
  - `Id` integer: Id of the synonym to update
  - `SourceTerm` string, nullable: Id of the synonym
  - `Terms` string[]: Synonym terms
  - `Status` 'Pending' | 'Approved' | 'Rejected'

## Response `200`

OK

- integer

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
