---
title: "Upsert (add or replace) a Lexeme"
method: PUT
path: "/languages/{languageID}/lexemes"
tags: ["Language", "Lexeme"]
---

# Upsert (add or replace) a Lexeme

`PUT /languages/{languageID}/lexemes`

## Path parameters

- `languageID` string, required

## Headers

- `ifMatch` string

## Response `201`

201: Upsert successful.

## Changes

- **2017-09-15** `08873dab36b5` — 2 info
  - api operation id `upsertLexeme` removed and replaced with `upsertLexemeByLanguage`
  - api tag `Language` added
- **2017-09-03** `62485f488e11` — 1 info
  - endpoint added
- **2016-12-01** `13f179dcd92d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/digitallinguistics/apis/dlx/changes/languages/:languageID/lexemes/put.md)

---

[API](https://skmtc.dev/digitallinguistics/apis/dlx.md) · [All operations](https://skmtc.dev/digitallinguistics/apis/dlx/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitallinguistics/dlx/revisions/16a3d9472e1b/schema)
