Share via


Document Classifiers - Delete Classifier

ドキュメント分類子を削除します。

DELETE {endpoint}/documentintelligence/documentClassifiers/{classifierId}?api-version=2024-02-29-preview

URI パラメーター

名前 / 必須 説明
classifierId
path True

string

一意のドキュメント分類子名。

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$

endpoint
path True

string

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

api-version
query True

string

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

要求ヘッダー

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

string

uuid

要求の不透明でグローバルに一意のクライアント生成文字列識別子。

応答

名前 説明
204 No Content

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

Headers

x-ms-client-request-id: string

Other Status Codes

ErrorResponse

予期しないエラー応答。

セキュリティ

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

OAuth2Auth

Type: oauth2
Flow: accessCode
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize
Token URL: https://login.microsoftonline.com/common/oauth2/token

Scopes

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

Delete Document Classifier

Sample Request

DELETE https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentClassifiers/myClassifier?api-version=2024-02-29-preview

Sample Response

定義

名前 説明
Error

error オブジェクト。

ErrorResponse

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

InnerError

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

Error

error オブジェクト。

名前 説明
code

string

サーバー定義のエラー コードのセットの 1 つ。

details

Error[]

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

innererror

InnerError

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

message

string

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

target

string

エラーのターゲット。

ErrorResponse

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

名前 説明
error

Error

エラー情報。

InnerError

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

名前 説明
code

string

サーバー定義のエラー コードのセットの 1 つ。

innererror

InnerError

内部エラー。

message

string

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