Apps - Delete
アプリケーションを削除します。
DELETE {Endpoint}/luis/api/v2.0/apps/{appId}
DELETE {Endpoint}/luis/api/v2.0/apps/{appId}?force={force}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
|
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
|
force
|
query |
boolean |
操作を強制するかどうかを示すフラグ。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
アプリケーションが正常に削除されました。 |
|
| Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
型:
apiKey
/:
header
例
Successful Rename Application request
要求のサンプル
DELETE {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e
応答のサンプル
{
"code": "Success",
"message": "Operation Successful"
}
定義
| 名前 | 説明 |
|---|---|
|
Error |
API で操作を呼び出すときのエラー応答。 |
|
Operation |
操作の状態の応答。 |
|
Operation |
状態コード。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| errorType |
string |
OperationStatus
操作の状態の応答。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
状態コード。 |
|
| message |
string |
状態の詳細。 |
OperationStatusType
状態コード。
| 値 | 説明 |
|---|---|
| Failed | |
| FAILED | |
| Success |