Modifies the anti-brute-force-attack rule that is applied to a specific server.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyInstanceAntiBruteForceRule

The operation that you want to perform.

Set the value to ModifyInstanceAntiBruteForceRule.

SourceIp String No

The source IP address of the request.

Uuid String No cc62fb70-fa90-4c1a-91a5-25806b36****

The UUID of the server for which you want to modify the anti-brute-force-attack rule.

Note You can call the DescribeCloudCenterInstances operation to query the UUID of the server.
NewRuleId Long No 12

Specify the ID of the rule with which you want to replace the current rule. You can apply only one rule to each server. Therefore, you can specify only one rule ID.

Note You can call the DescribeAntiBruteForceRules operation to query the rule ID The value of the Id parameter indicates the rule ID..

Response parameters

Parameter Type Example Description
RequestId String 4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D

The ID of the request.

Sample requests

Sample request

http(s)://[Endpoint]/? Action=ModifyInstanceAntiBruteForceRule
&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D"

Error codes

For a list of error codes, visit the API Error Center.