Aracılığıyla paylaş


Model - Delete Pattern Any Entity Role

Belirli bir Pattern.any varlığı için uygulamanın bir sürümündeki rolü silin.

DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/patternanyentities/{entityId}/roles/{roleId}

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 ana bilgisayar adı, örneğin: https://westus.api.cognitive.microsoft.com).

entityId
path True

string

uuid

Varlık kimliği.

roleId
path True

string

uuid

Varlık rolü 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

İşlem başarıyla tamamlandı.

Other Status Codes

ErrorResponse

Hata Yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Örnekler

Successful Delete Pattern.Any Entity Role request

Sample Request

DELETE {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/patternanyentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73/roles/a682a962-1f92-4ae7-b8b8-398414e30c12

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