刪除黑白名單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
mse:DeleteBlackWhiteList |
delete |
*Gateway
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| GatewayId |
integer |
否 |
閘道器 ID。 |
430 |
| Id |
integer |
否 |
黑白名單 ID。 |
120 |
| GatewayUniqueId |
string |
否 |
閘道器唯一 ID。 |
gw-9cdcf8e4f58144059e73ff4c5ef9**** |
|
否 |
返回結果顯示的語言。取值:zh(預設值):中文,en:英文。 |
zh |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
DC34E4A3-5F1C-4E40-86EA-02EDF967**** |
| HttpStatusCode |
integer |
HTTP 狀態碼。 |
200 |
| Message |
string |
回應資訊。 |
OK |
| Code |
integer |
code 僅用來與 success 同步。 |
200 |
| Success |
boolean |
請求結果,取值如下:
|
true |
| Data |
object |
資料結構。 |
|
| Id |
integer |
黑白名單 ID。 |
120 |
| ResourceId |
integer |
已廢棄。 |
1 |
| ResourceType |
string |
生效粒度:
|
GATEWAY |
| Content |
string |
設定內容。 |
1.1.1.1 |
| Type |
string |
已廢棄,固定值。 |
IP |
| IsWhite |
boolean |
是否為白名單。 |
true |
| Status |
boolean |
啟用狀態:
|
1 |
| GatewayId |
integer |
閘道器 ID。 |
430 |
| GatewayUniqueId |
string |
閘道器唯一 ID。 |
gw-9cdcf8e4f58144059e73ff4c5ef9**** |
| GmtCreate |
string |
建立時間。 |
2022-08-10 20:22:34 |
| GmtModified |
string |
更新時間。 |
2022-08-10 20:22:34 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "DC34E4A3-5F1C-4E40-86EA-02EDF967****",
"HttpStatusCode": 200,
"Message": "OK",
"Code": 200,
"Success": true,
"Data": {
"Id": 120,
"ResourceId": 1,
"ResourceType": "GATEWAY",
"Content": "1.1.1.1",
"Type": "IP",
"IsWhite": true,
"Status": true,
"GatewayId": 430,
"GatewayUniqueId": "gw-9cdcf8e4f58144059e73ff4c5ef9****",
"GmtCreate": "2022-08-10 20:22:34",
"GmtModified": "2022-08-10 20:22:34"
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。