次の方法で共有


Document Models - Delete Model

ドキュメント モデルを削除します。

DELETE {endpoint}/documentintelligence/documentModels/{modelId}?api-version=2024-11-30

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

uri

ドキュメント インテリジェンス サービス エンドポイント。

modelId
path True

string

一意のドキュメント モデル名。

正規表現パターン: ^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$

api-version
query True

string

この操作に使用する API バージョン。

要求ヘッダー

名前 必須 説明
x-ms-client-request-id

string

uuid

要求の非透過的なグローバルに一意のクライアント生成文字列識別子。

応答

名前 説明
204 No Content

この要求に送信するコンテンツはありませんが、ヘッダーが役立つ場合があります。

ヘッダー

x-ms-client-request-id: string

Other Status Codes

DocumentIntelligenceErrorResponse

予期しないエラー応答。

セキュリティ

Ocp-Apim-Subscription-Key

型: apiKey
/: header

OAuth2Auth

型: oauth2
フロー: accessCode
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize
Token URL (トークン URL): https://login.microsoftonline.com/common/oauth2/token

スコープ

名前 説明
https://cognitiveservices.azure.com/.default

Delete Document Model

要求のサンプル

DELETE https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/myCustomModel?api-version=2024-11-30

応答のサンプル

定義

名前 説明
DocumentIntelligenceError

エラー オブジェクト。

DocumentIntelligenceErrorResponse

エラー応答オブジェクト。

DocumentIntelligenceInnerError

エラーに関するより具体的な情報を含むオブジェクト。

DocumentIntelligenceError

エラー オブジェクト。

名前 説明
code

string

サーバー定義の一連のエラー コードの 1 つ。

details

DocumentIntelligenceError[]

この報告されたエラーの原因となった特定のエラーに関する詳細の配列。

innererror

DocumentIntelligenceInnerError

エラーに関する現在のオブジェクトよりも具体的な情報を含むオブジェクト。

message

string

エラーの人間が判読できる表現。

target

string

エラーのターゲット。

DocumentIntelligenceErrorResponse

エラー応答オブジェクト。

名前 説明
error

DocumentIntelligenceError

エラー情報。

DocumentIntelligenceInnerError

エラーに関するより具体的な情報を含むオブジェクト。

名前 説明
code

string

サーバー定義の一連のエラー コードの 1 つ。

innererror

DocumentIntelligenceInnerError

内部エラー。

message

string

エラーの人間が判読できる表現。