Menghapus versi layanan dari gerbang.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:DeleteGatewayServiceVersion |
delete |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceId |
integer |
Yes |
ID layanan. |
777 |
| ServiceVersion |
string |
Yes |
Versi layanan. |
{\"name\":\"app\",\"labels\":[{\"key\":\"app\",\"value\":\"demo-server\"}]} |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-b6988bd16920479d9104e1729f97**** |
| 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. |
29D52777-BE96-563E-BC6B-796ACE47A7A5 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned.
|
The request is successfully processed. |
| Code |
integer |
The response code returned. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
integer |
The returned data. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "29D52777-BE96-563E-BC6B-796ACE47A7A5",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 1,
"Success": true,
"Data": 1
}
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.