Examples - Delete
指定した ID を持つラベル付きの発話例をアプリケーションのバージョンから削除します。
DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/examples/{exampleId}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
|
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
|
example
|
path | True |
integer (int64) |
ID の例。 |
|
version
|
path | True |
string |
バージョン ID。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
発話の例が正常に削除されました。 |
|
| Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
型:
apiKey
/:
header
例
Successful Delete Example Label request
要求のサンプル
DELETE {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/examples/-5313926
応答のサンプル
{
"code": "Success",
"message": "Operation Successful"
}
定義
| 名前 | 説明 |
|---|---|
|
Error |
API で操作を呼び出すときのエラー応答。 |
|
Operation |
操作の状態の応答。 |
|
Operation |
状態コード。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| errorType |
string |
OperationStatus
操作の状態の応答。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
状態コード。 |
|
| message |
string |
状態の詳細。 |
OperationStatusType
状態コード。
| 値 | 説明 |
|---|---|
| Failed | |
| FAILED | |
| Success |