Megosztás a következőn keresztül:


Model - Delete Entity Role

Entitásszerepkör törlése az alkalmazás egy verziójában.

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

URI-paraméterek

Name In Kötelező Típus Description
appId
path True

string

uuid

Az alkalmazás azonosítója.

Endpoint
path True

string

Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com).

entityId
path True

string

uuid

Az entitás azonosítója.

roleId
path True

string

uuid

Az entitásszerepkör azonosítója.

versionId
path True

string

A verzióazonosító.

Kérelem fejléce

Name Kötelező Típus Description
Ocp-Apim-Subscription-Key True

string

Válaszok

Name Típus Description
200 OK

OperationStatus

A művelet sikeresen befejeződött.

Other Status Codes

ErrorResponse

Hibaválasz.

Biztonság

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Példák

Successful Delete Entity Extractor Role request

Sample Request

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

Sample Response

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

Definíciók

Name Description
ErrorResponse

Hibaválasz az API-ra irányuló művelet meghívásakor.

OperationStatus

Műveletállapot válasza.

OperationStatusType

Állapotkód.

ErrorResponse

Hibaválasz az API-ra irányuló művelet meghívásakor.

Name Típus Description
errorType

string

OperationStatus

Műveletállapot válasza.

Name Típus Description
code

OperationStatusType

Állapotkód.

message

string

Állapotadatok.

OperationStatusType

Állapotkód.

Name Típus Description
FAILED

string

Failed

string

Success

string