This API is deprecated. You are advised to use mse(2019-05-31) - GatewayBlackWhiteList.
Queries the blacklist or whitelist of a gateway.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceType | string | No | The type of the resource. | GATEWAY |
Type | string | No | The type. | IP |
GatewayUniqueId | string | No | The unique ID of the gateway. | gw-32d5c9769c1842b1a2cc3426c59e**** |
IsWhite | boolean | No | Specifies whether to enable the whitelist. | true |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "89CBC928-4F57-51FA-A413-EE0F4CD87200",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation. ",
"Code": 200,
"Success": true,
"Data": {
"Id": 275,
"ResourceId": 1,
"ResourceType": "GATEWAY",
"Content": "text",
"Type": "IP",
"IsWhite": true,
"Status": "on",
"GatewayId": 1,
"GatewayUniqueId": "gw-7ea3da97b96543e19f6c597c****",
"GmtCreate": "2022-01-07T10:07:57.000+0000",
"GmtModified": "2022-01-07T10:07:57.000+0000"
}
}
Error codes
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 |
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 |
500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-02 | The API operation is deprecated | View Change Details |