ゲートウェイからルートを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:DeleteGatewayRoute |
delete |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RouteId |
string |
任意 |
ルートの ID。 |
252 |
| GatewayUniqueId |
string |
任意 |
ゲートウェイの一意の ID。 |
gw-492af9b04bb4474cae9d645be850e3d7 |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語。 有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| RequestId |
string |
リクエスト ID。 |
ADDD8AB7-8D1C-4697-A83E-410D2607**** |
| HttpStatusCode |
integer |
返される HTTP ステータスコード。 |
200 |
| Message |
string |
返されるメッセージ。 |
The request is successfully processed. |
| Code |
integer |
返される HTTP ステータスコード。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 有効な値:
|
true |
| Data |
object |
返されたデータ。 |
|
| Id |
integer |
ID。 |
12 |
| Name |
string |
名前。 |
test |
| GatewayUniqueId |
string |
ゲートウェイの一意の ID。 |
gw-5017305290e14cebbrvec4a5**** |
| GatewayId |
integer |
ゲートウェイの ID。 |
125 |
| Predicates |
string |
マッチングルール。 |
{\"PathPredicates\":{\"Path\":\"/metas\",\"Type\":\"PRE\",\"IgnoreCase\":false}} |
| DefaultServiceId |
integer |
デフォルトのサービス ID。 |
1 |
| RouteOrder |
integer |
ルートのシーケンス番号。 |
1 |
| Status |
integer |
ルートのステータス。 有効な値:
|
2 |
| GmtCreate |
string |
作成時間。 |
2022-01-07 18:07:57 |
| GmtModified |
string |
変更時間。 |
2021-12-30T06:41:52.000+0000 |
例
成功レスポンス
JSONJSON
{
"RequestId": "ADDD8AB7-8D1C-4697-A83E-410D2607****",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": {
"Id": 12,
"Name": "test",
"GatewayUniqueId": "gw-5017305290e14cebbrvec4a5****",
"GatewayId": 125,
"Predicates": "{\\\"PathPredicates\\\":{\\\"Path\\\":\\\"/metas\\\",\\\"Type\\\":\\\"PRE\\\",\\\"IgnoreCase\\\":false}}",
"DefaultServiceId": 1,
"RouteOrder": 1,
"Status": 2,
"GmtCreate": "2022-01-07 18:07:57",
"GmtModified": "2021-12-30T06:41:52.000+0000"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。