Document Models - Delete Model
刪除檔案模型。
DELETE {endpoint}/formrecognizer/documentModels/{modelId}?api-version=2022-08-31
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
支援的認知服務端點 (通訊協定和主機名,例如: https://westus2.api.cognitive.microsoft.com) 。 |
model
|
path | True |
string |
唯一的檔模型名稱。 Regex pattern: |
api-version
|
query | True |
要求的 API 版本。 |
要求標頭
名稱 | 必要 | 類型 | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
回應
名稱 | 類型 | Description |
---|---|---|
204 No Content |
刪除檔案模型。 |
|
Other Status Codes |
發生錯誤。 |
安全性
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
範例
DeleteDocumentModel
Sample Request
DELETE {endpoint}/formrecognizer/documentModels/{modelId}?api-version=2022-08-31
Sample Response
定義
名稱 | Description |
---|---|
Api |
API 版本。 |
Error |
錯誤資訊。 |
Error |
錯誤回應物件。 |
Inner |
詳細的錯誤。 |
ApiVersion
API 版本。
名稱 | 類型 | Description |
---|---|---|
2022-08-31 |
string |
Error
錯誤資訊。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 |
details |
Error[] |
詳細錯誤清單。 |
innererror |
詳細的錯誤。 |
|
message |
string |
錯誤訊息。 |
target |
string |
錯誤的目標。 |
ErrorResponse
錯誤回應物件。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤資訊。 |
InnerError
詳細的錯誤。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 |
innererror |
詳細的錯誤。 |
|
message |
string |
錯誤訊息。 |