You can call this operation to modify the policies of the anti-brute force cracking feature.

Debugging

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 ModifyAntiBruteForceRule

The operation that you want to perform.

Set the value to ModifyAntiBruteForceRule.

SourceIp String No 1.2.3.4

The source IP address of the request.

Id Long No 6263

The ID of the anti-brute force cracking policy.

Name String No Best practices

The name of the anti-brute force cracking policy.

Span Integer No 10

The time period during which the number of logon attempts are calculated.

FailCount Integer No 10

The maximum number of logon attempts specified in the anti-brute force cracking policy.

ForbiddenTime Integer No 12

The time period during which logons from the blocked IP address are blocked.

UuidList.N RepeatList No uuid-13213-dasda

The list of servers to which the anti-brute force cracking policies are applied.

DefaultRule Boolean No true

Specifies whether to set the policy as the default policy.

  • true: Yes
  • false: No

Response parameters

Parameter Type Example Description
RequestId String F35F45B0-5D6B-4238-BE02-A62D0760E840

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<ModifyAntiBruteForceRuleResponse>
  <requestId>F35F45B0-5D6B-4238-BE02-A62D0760E840</requestId>
</ModifyAntiBruteForceRuleResponse>

JSON format

{
    "requestId": "F35F45B0-5D6B-4238-BE02-A62D0760E840"
}

Error code

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