Aracılığıyla paylaş


Model - Delete Entity

Uygulamanın bir sürümünden bir varlığı siler.

DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/entities/{entityId}

URI Parametreleri

Name İçinde Gerekli Tür Description
appId
path True

string

uuid

Uygulama kimliği.

Endpoint
path True

string

Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve konak adı, örneğin: https://westus.api.cognitive.microsoft.com).

entityId
path True

string

uuid

Varlık ayıklayıcı kimliği.

versionId
path True

string

Sürüm kimliği.

İstek Başlığı

Name Gerekli Tür Description
Ocp-Apim-Subscription-Key True

string

Yanıtlar

Name Tür Description
200 OK

OperationStatus

Varlık başarıyla silindi.

Other Status Codes

ErrorResponse

Hata Yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Örnekler

Successful Delete Entity Info request

Sample Request

DELETE {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/entities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73

Sample Response

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

Tanımlar

Name Description
ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

OperationStatus

İşlem durumunun yanıtı.

OperationStatusType

Durum Kodu.

ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

Name Tür Description
errorType

string

OperationStatus

İşlem durumunun yanıtı.

Name Tür Description
code

OperationStatusType

Durum Kodu.

message

string

Durum ayrıntıları.

OperationStatusType

Durum Kodu.

Name Tür Description
FAILED

string

Failed

string

Success

string