Пропустить и перейти к основному содержимому

Этот браузер больше не поддерживается.

Выполните обновление до Microsoft Edge, чтобы воспользоваться новейшими функциями, обновлениями для системы безопасности и технической поддержкой.

Скачать Microsoft Edge Дополнительные сведения об Internet Explorer и Microsoft Edge
microsoft-foundry.rest.security.o-auth2-auth

Models

Delete a model version

DELETE /models/{name}/versions/{version}

Removes the specified model version. Returns 200 whether the version existed or not.

Параметры запроса

api-version string обязательно

The API version to use for this operation.

Параметры пути

name string обязательно

The name of the resource

version string обязательно

The version of the ModelVersion to delete.

Параметры заголовка

Foundry-Features enum обязательно

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

Models=V1Preview

Ответы

The request has succeeded.

Client error

Заголовки

x-ms-error-code string

String error code indicating what went wrong.

Текст

Content-Type: application/json
error Azure.Core.Foundations.Error обязательно

The error object.

code string обязательно

One of a server-defined set of error codes.

message string обязательно

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Server error

Заголовки

x-ms-error-code string

String error code indicating what went wrong.

Текст

Content-Type: application/json
error Azure.Core.Foundations.Error обязательно

The error object.

code string обязательно

One of a server-defined set of error codes.

message string обязательно

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Запрос

DELETE /models/{name}/versions/{version} HTTP/1.1

Response

Status: 200
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
ru-ru
Ваши варианты выбора параметров конфиденциальности
  • Заявление об отказе ИИ
  • Предыдущие версии
  • Блог
  • Участие в доработке
  • Конфиденциальность
  • Конфиденциальность медицинских данных потребителей
  • Условия использования
  • Товарные знаки
  • © Microsoft 2026