Enables a custom IP address blocking policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BlockIp | string | Yes | The IP address that is specified in the policy. | 43.248.XX.XX |
Bound | string | Yes | The traffic direction that is specified in the policy. Valid values:
| in |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F02D5F26-70B9-53BD-9CDF-A316FD11****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history