Freigeben über


Model - Delete Hierarchical Entity

Löscht eine hierarchische Entität aus einer Version der Anwendung.

DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}

URI-Parameter

Name In Erforderlich Typ Beschreibung
appId
path True

string (uuid)

Die Anwendungs-ID.

Endpoint
path True

string

Unterstützte Cognitive Services-Endpunkte (Protokoll und Hostname, z. B. https://westus.api.cognitive.microsoft.com).

hEntityId
path True

string (uuid)

Die hierarchische Entitätsextraktions-ID.

versionId
path True

string

Die Versions-ID.

Anforderungsheader

Name Erforderlich Typ Beschreibung
Ocp-Apim-Subscription-Key True

string

Antworten

Name Typ Beschreibung
200 OK

OperationStatus

Die Entität wurde erfolgreich gelöscht.

Other Status Codes

ErrorResponse

Fehlerantwort.

Sicherheit

Ocp-Apim-Subscription-Key

Typ: apiKey
In: header

Beispiele

Successful Delete Hierarchical Entity Model request

Beispielanforderung

DELETE {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/hierarchicalentities/fe559c31-9778-42ea-ba45-94e0bd7cf767

Beispiel für eine Antwort

{
  "code": "Success",
  "message": "Operation Successful"
}

Definitionen

Name Beschreibung
ErrorResponse

Fehlerantwort beim Aufrufen eines Vorgangs in der API.

OperationStatus

Antwort eines Vorgangsstatus.

OperationStatusType

Statuscode.

ErrorResponse

Fehlerantwort beim Aufrufen eines Vorgangs in der API.

Name Typ Beschreibung
errorType

string

OperationStatus

Antwort eines Vorgangsstatus.

Name Typ Beschreibung
code

OperationStatusType

Statuscode.

message

string

Statusdetails.

OperationStatusType

Statuscode.

Wert Beschreibung
FAILED
Failed
Success