Enables a custom rule for an instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Uuid | string | Yes | The UUID of the server. | 50d213b4-3a35-427a-b8a5-04b0c7e1**** |
BlockIp | string | Yes | The IP address that you want to block. | 192.168.xx.xx |
Bound | string | No | The traffic direction from the IP address that you want to block. Valid value:
| in |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "571B2642-BF51-5BDD-906B-D2340DB9****"
}
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