Pattern - Delete Patterns
Törli a minták listáját az alkalmazás egy verziójában.
DELETE {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/patternrules
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
app
|
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). |
version
|
path | True |
string |
A verzióazonosító. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Kérelem törzse
Name | Típus | Description |
---|---|---|
patternIds |
string[] |
A minták azonosítói. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A művelet sikeresen megtörtént. |
|
Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Példák
Successful Batch Delete Patterns request
Sample Request
DELETE {Endpoint}/luis/authoring/v3.0-preview/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/patternrules
[
"cc8fa554-cc6c-4bcc-97eb-c8e5bc2091b3",
"2126479d-2a98-4d06-a65e-b8799df2dd53"
]
Sample Response
{
"code": "Success",
"message": "Operation Successful"
}
Definíciók
Name | Description |
---|---|
Error |
Hibaválasz egy művelet API-n való meghívásakor. |
Operation |
Műveletállapot válasza. |
Operation |
Állapotkód. |
ErrorResponse
Hibaválasz egy művelet API-n való meghívásakor.
Name | Típus | Description |
---|---|---|
errorType |
string |
OperationStatus
Műveletállapot válasza.
Name | Típus | Description |
---|---|---|
code |
Állapotkód. |
|
message |
string |
Állapotadatok. |
OperationStatusType
Állapotkód.
Name | Típus | Description |
---|---|---|
FAILED |
string |
|
Failed |
string |
|
Success |
string |