Mengubah kebijakan konfigurasi header entri rute.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayRouteHeaderOp |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID catatan. |
411 |
| GatewayId |
integer |
No |
ID gerbang. |
324 |
| HeaderOpJSON |
string |
No |
Deskripsi pengaturan header pengguna. |
{\"status\":\"on\",\"headerOpItems\":[{\"directionType\":\"Request\",\"opType\":\"Update\",\"key\":\"hosts\",\"value\":\"test.com\"}]} |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-6bdc977deda44bf589c49d063b4c2d1d |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
7C8CB294-BED8-5F32-A416-7517725E8F27 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The error message. |
You are not authorized to perform this operation. |
| Code |
integer |
The status code returned. A value of 200 indicates that the request is successful. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
integer |
The returned data. |
666 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7C8CB294-BED8-5F32-A416-7517725E8F27",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 666
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.