Document Models - Delete Model
Belge modelini siler.
DELETE {endpoint}/documentintelligence/documentModels/{modelId}?api-version=2024-02-29-preview
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
Belge Yönetim Bilgileri hizmeti uç noktası. |
model
|
path | True |
string |
Benzersiz belge modeli adı. Regex pattern: |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
İstek Başlığı
Name | Gerekli | Tür | Description |
---|---|---|---|
x-ms-client-request-id |
string uuid |
İstek için opak, genel olarak benzersiz, istemci tarafından oluşturulan bir dize tanımlayıcısı. |
Yanıtlar
Name | Tür | Description |
---|---|---|
204 No Content |
Bu istek için gönderilecek içerik yok, ancak üst bilgiler yararlı olabilir. Headers x-ms-client-request-id: string |
|
Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
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
Name | Description |
---|---|
https://cognitiveservices.azure.com/.default |
Örnekler
Delete Document Model
Sample Request
DELETE https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/myCustomModel?api-version=2024-02-29-preview
Sample Response
Tanımlar
Name | Description |
---|---|
Error |
Hata nesnesi. |
Error |
Hata yanıtı nesnesi. |
Inner |
Hata hakkında daha ayrıntılı bilgi içeren bir nesne. |
Error
Hata nesnesi.
Name | Tür | Description |
---|---|---|
code |
string |
Sunucu tanımlı hata kodları kümesinden biri. |
details |
Error[] |
Bu bildirilen hataya yol açan belirli hatalarla ilgili ayrıntılar dizisi. |
innererror |
Hatayla ilgili geçerli nesneden daha özel bilgiler içeren bir nesne. |
|
message |
string |
Hatanın insan tarafından okunabilen bir gösterimi. |
target |
string |
Hatanın hedefi. |
ErrorResponse
Hata yanıtı nesnesi.
Name | Tür | Description |
---|---|---|
error |
Hata bilgileri. |
InnerError
Hata hakkında daha ayrıntılı bilgi içeren bir nesne.
Name | Tür | Description |
---|---|---|
code |
string |
Sunucu tanımlı hata kodları kümesinden biri. |
innererror |
İç hata. |
|
message |
string |
Hatanın insan tarafından okunabilen bir gösterimi. |