Menonaktifkan rute untuk gateway.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:OfflineGatewayRoute |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RouteId |
string |
Yes |
ID rute. |
645 |
| GatewayUniqueId |
string |
Yes |
ID unik gateway. |
gw-77e1153db6e14c0a8b1fae20bcb89ca5 |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| RequestId |
string |
ID permintaan. |
8EB24742-AB15-5953-BEFB-1FA18E770EEE |
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
The request is successfully processed. |
| Code |
integer |
Kode status yang dikembalikan. |
200 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Data |
boolean |
Menunjukkan apakah rute tidak dipublikasikan. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8EB24742-AB15-5953-BEFB-1FA18E770EEE",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": true
}
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.