---
title: "Upsert one or more Languages"
method: PUT
path: "/languages"
tags: ["Language"]
---

# Upsert one or more Languages

`PUT /languages`

The body may be either a single database object or an array of objects.

## Request body

- Document — A document in the DLx database
  - `id` string
  - `type` string, required

## Response `201`

Upsert successful.

## Changes

- **2017-04-22** `97593df68230` — 1 info
  - api operation id `upsertLanguage` removed and replaced with `upsertLanguages`
- **2016-12-01** `13f179dcd92d` — 2 warning
  - the optional response header `Last-Modified` removed for the status `201`
  - deleted the `header` request parameter `ifMatch`

[Change history](https://skmtc.dev/digitallinguistics/apis/dlx/changes/languages/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/b861a08fa45f/schema)
