put
https://{yourinstance}.makaira.io/synonym/
Update synonym by ID
Updates an existing synonym group.
Requires authentication.
Request
PUT /synonym/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The ID of the synonym group to update. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Display name for this synonym group. |
language | string | No | Language code this synonym group applies to (e.g. de, en). |
synonyms | string | No | Comma-separated list of synonyms. |
Example Request
{
"name": "Footwear synonyms",
"language": "de",
"synonyms": "Schuhe, Schuhwerk, Stiefel, Sneaker"
}Response
Returns the updated synonym object.
Example Response
{
"id": 42,
"name": "Footwear synonyms",
"language": "de",
"synonyms": "Schuhe, Schuhwerk, Stiefel, Sneaker"
} 200OK

