---
title: "Upsert (create or replace) a Language"
method: PUT
path: "/languages"
tags: ["Language"]
---

# Upsert (create or replace) a Language

`PUT /languages`

Creates a Language if it does not yet exist (i.e. if the resource does not have an `id` property yet), or replaces the existing Language resource if it does. Note that this replaces the *entire* Language. It is not a partial update.

## Headers

- `ifMatch` string

## Request body

- object

## Response `201`

201: Upsert successful.

---

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