---
title: "PUT /endpoints/{id}"
method: PUT
path: "/endpoints/{id}"
tags: ["Endpoint"]
---

# PUT /endpoints/{id}

`PUT /endpoints/{id}`

Creates a new endpoint.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `api-version` string, required

## Headers

- `Operation-Id` string

## Request body

- Endpoint — Endpoint object
  - `id` string, uuid — Endpoint Id
  - `displayName` string — Endpoint name
  - `description` string — Endpoint description
  - `projectId` string, required — Resource id
  - `modelId` string, required — Resource id
  - `properties` EndpointProperties — Endpoint properties
    - `kind` 'HighPerformance' | 'FastResume' — Endpoint kind
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Disabling' | 'Disabled' — Status of a resource.
  - `createdDateTime` string, date-time — The timestamp when the object was created. The timestamp 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).
  - `lastActionDateTime` string, date-time — The timestamp when the current status was entered. The timestamp 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).

## Response `201`

Created

- Endpoint — Endpoint object
  - `id` string, uuid — Endpoint Id
  - `displayName` string — Endpoint name
  - `description` string — Endpoint description
  - `projectId` string, required — Resource id
  - `modelId` string, required — Resource id
  - `properties` EndpointProperties — Endpoint properties
    - `kind` 'HighPerformance' | 'FastResume' — Endpoint kind
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Disabling' | 'Disabled' — Status of a resource.
  - `createdDateTime` string, date-time — The timestamp when the object was created. The timestamp 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).
  - `lastActionDateTime` string, date-time — The timestamp when the current status was entered. The timestamp 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-texttospeech.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-texttospeech/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-texttospeech/versions/ab0685f3cc0d/schema)
