ルートのヘッダー構成ポリシーを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:UpdateGatewayRouteHeaderOp |
update |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Id |
integer |
必須 |
レコードの ID。 |
411 |
| GatewayId |
integer |
任意 |
ゲートウェイの ID。 |
324 |
| HeaderOpJSON |
string |
任意 |
ユーザーヘッダー設定の説明。 |
{\"status\":\"on\",\"headerOpItems\":[{\"directionType\":\"Request\",\"opType\":\"Update\",\"key\":\"hosts\",\"value\":\"test.com\"}]} |
| GatewayUniqueId |
string |
必須 |
ゲートウェイの一意の ID。 |
gw-6bdc977deda44bf589c49d063b4c2d1d |
| AcceptLanguage |
string |
任意 |
応答の言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ。 |
||
| RequestId |
string |
リクエストの ID。 |
7C8CB294-BED8-5F32-A416-7517725E8F27 |
| HttpStatusCode |
integer |
返される HTTP ステータスコード。 |
200 |
| Message |
string |
エラーメッセージ。 |
You are not authorized to perform this operation. |
| Code |
integer |
返される状態コード。値が 200 の場合は、リクエストが成功したことを示します。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
integer |
返されたデータ。 |
666 |
例
成功レスポンス
JSONJSON
{
"RequestId": "7C8CB294-BED8-5F32-A416-7517725E8F27",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 666
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。