Domain name for API request: cwp.intl.tencentcloudapi.com.
Make a change to the baseline ignore rule.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyBaselineRuleIgnore. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| RuleName | Yes | String | Rule name |
| AssetType | Yes | Integer | Asset type [0: all Professional and Ultimate editions|1: ID | 2: IP] |
| RuleId | No | Integer | Rule ID |
| ItemIds.N | No | Array of Integer | Related item |
| HostIds.N | No | Array of String | Host ID |
| HostIps.N | No | Array of String | Host IP address |
| SelectAll | No | Integer | Whether to select all filters |
| Filters.N | No | Array of Filter |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to add an ignoring rule.
POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyBaselineRuleIgnore
<Common request parameters>
{
"AssetType": "0",
"ItemIds": [
"1002"
],
"RuleName": "auto_173042751****"
}
{
"Response": {
"RequestId": "5cbf3ee7-0e7c-4190-aae8-95254726c7f2"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | |
| InternalError | Internal error |
| InvalidParameter |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback