Modifies Intrusion Prevention System (IPS) rules.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
218.1.147.XXX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| RuleType |
string |
Yes |
The type of the rule. Valid values:
|
basicRule |
| RuleAction |
string |
Yes |
The action of the rule. Valid values:
|
alert |
| Rules |
string |
Yes |
The list of rules. |
[\"4664138c-4f81-4650-9c8d-2230ea0d****\"] |
| FirewallType |
string |
No |
The type of the Cloud Firewall. Valid values:
|
VpcFirewall |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
30FB7F84-1FC5-5A3D-BBBE-5779FC74**** |
Examples
Success response
JSON format
{
"RequestId": "30FB7F84-1FC5-5A3D-BBBE-5779FC74****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | invalid aliUid. | Invalid Aliuid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorMarshalJSON | internal error: marshal json. | An error occurred. Try again later. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorDBInsert | An error occurred while performing an insert operation in the database. | An error occurred while performing an insert operation in the database. |
| 400 | ErrorRecordLog | update operation log error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.