All Products
Search
Document Center

Security Center:EnableCustomInstanceBlockRecord

Last Updated:Feb 20, 2024

Enables a custom rule for an instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
UuidstringYes

The UUID of the server.

50d213b4-3a35-427a-b8a5-04b0c7e1****
BlockIpstringYes

The IP address that you want to block.

192.168.xx.xx
BoundstringNo

The traffic direction from the IP address that you want to block. Valid value:

  • in
  • out
in

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

571B2642-BF51-5BDD-906B-D2340DB9****

Examples

Sample success responses

JSONformat

{
  "RequestId": "571B2642-BF51-5BDD-906B-D2340DB9****"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history