All Products
Search
Document Center

Security Center:EnableCustomBlockRecord

Last Updated:Jul 26, 2024

Enables a custom IP address blocking policy.

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
BlockIpstringYes

The IP address that is specified in the policy.

43.248.XX.XX
BoundstringYes

The traffic direction that is specified in the policy. Valid values:

  • in: inbound
  • out: outbound
in

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

F02D5F26-70B9-53BD-9CDF-A316FD11****

Examples

Sample success responses

JSONformat

{
  "RequestId": "F02D5F26-70B9-53BD-9CDF-A316FD11****"
}

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