---
title: "Updates a synonym with the specified data, overrides all fields to the new value."
method: PUT
path: "/synonym"
tags: ["Synonym"]
---

# Updates a synonym with the specified data, overrides all fields to the new value.

`PUT /synonym`

## Request body

- SynonymUpdateModel — Model to update a synonym
  - `Id` integer — Id of the synonym to update
  - `SourceTerm` string — Optional source term, if filled it is considered a one way synonym
  - `Terms` string[] — Synonym terms
  - `Status` 'Pending' | 'Approved' | 'Rejected' — Optional status of the synonym. The default value when none is supplied is 'Approved'

## Response `200`

The id of the updated synonym

- integer

## Other responses

- `400` — BadRequest

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
