Dela via


Custom Models - Delete

Markera modellen för borttagning. Modellartefakter tas bort permanent inom en fördefinierad period.

DELETE {endpoint}/formrecognizer/v2.1/custom/models/{modelId}

URI-parametrar

Name I Obligatorisk Typ Description
endpoint
path True

string

Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel: https://westus2.api.cognitive.microsoft.com).

modelId
path True

string

uuid

Modellidentifierare.

Begärandehuvud

Name Obligatorisk Typ Description
Ocp-Apim-Subscription-Key True

string

Svar

Name Typ Description
204 No Content

Modellen har markerats för borttagning. Modellartefakter tas bort inom en fördefinierad tidsperiod.

Other Status Codes

ErrorResponse

Svarsentitet som medföljer icke-lyckade svar som innehåller ytterligare information om felet.

Säkerhet

Ocp-Apim-Subscription-Key

Typ: apiKey
I: header

Exempel

Delete custom model

Exempelbegäran

DELETE {endpoint}/formrecognizer/v2.1/custom/models/f973e3c1-1148-43bb-bea8-49d0603ab3a8

Exempelsvar

Definitioner

Name Description
ErrorInformation
ErrorResponse

ErrorInformation

Name Typ Description
code

string

message

string

ErrorResponse

Name Typ Description
error

ErrorInformation