---
title: "Updates the metadata of the model identified by the given ID."
method: PATCH
path: "/models/{id}"
tags: ["Custom Speech models:"]
---

# Updates the metadata of the model identified by the given ID.

`PATCH /models/{id}`

## Path parameters

- `id` string, uuid, required

## Request body

- ModelUpdate
  - `displayName` string — The name of the object.
  - `description` string — The description of the object.
  - `customProperties` object — The custom properties of this entity. The maximum allowed key length is 64 characters, the maximum allowed value length is 256 characters and the count of allowed entries is 10.
  - `project` EntityReference
    - `self` string, uri, required — The location of the referenced entity.

## Response `200`

OK

- CustomModel
  - `self` string, uri — The location of this entity.
  - `locale` string, required — The locale of the contained data.
  - `displayName` string, required — The display name of the object.
  - `description` string — The description of the object.
  - `lastActionDateTime` string, date-time — The time-stamp when the current status was entered. The time stamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' — Describe the current state of the API
  - `createdDateTime` string, date-time — The time-stamp when the object was created. The time stamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-speechtotext/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-speechtotext/versions/931821089e0d/schema)
