---
title: "Perform a partial update on a Language"
method: PATCH
path: "/languages/{languageId}"
tags: ["Language"]
---

# Perform a partial update on a Language

`PATCH /languages/{languageId}`

Performs a partial update the Language whose ID is specified in the URL. If the Language object has an `id` property, is ignored in favor of the ID in the URL.

## Path parameters

- `languageId` string, required

## Headers

- `ifMatch` string

## Request body

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

## Response `200`

Update successful.

## Other responses

- `403` — Unauthorized.
- `404` — Database resource not found.
- `412` — A precondition for the operation was not met.
- `422` — The data is not properly formatted.

## Changes

- **2017-06-05** `1040300286b6` — 4 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `412`
  - added the non-success response with the status `422`
- **2017-04-26** `4ad4937acacb` — 1 info
  - endpoint added

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