Domain name for API request: tcss.intl.tencentcloudapi.com.
Edit the malicious request event status.
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: ModifyRiskDnsEventStatus. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| EventIDSet.N | Yes | Array of Integer | Array of malicious request event IDs. It is required for adding to the allowlist. Otherwise, choose Filters or EventIDSet. |
| EventStatus | Yes | String | Mark the status of the event. EVENT_UNDEAL: Unprocessed (unignore) EVENT_DEALED: Processed EVENT_IGNORE: Ignore EVENT_DELETE: Deleted EVENT_ADD_WHITE: Add to whitelist EVENT_ISOLATE_CONTAINER: Isolate container EVENT_RESTORE_CONTAINER: Restore CONTAINER. |
| Address | No | String | Allowlist Domain/IP |
| Remark | No | String | Remarks |
| AllSameEventAddWhite | No | Boolean | Adding Identical Request Domain Name/IP Events to Allowlist |
| AddWhiteEventType | No | String | Allowlist Adding Event Type. DOMAIN: Malicious Domain Request; IP: Malicious IP Request |
| 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. |
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyRiskDnsEventStatus
<Common request parameters>
{
"EventIDSet": [
1
],
"EventStatus": "EVENT_DEALED",
"Remark": "remark"
}
{
"Response": {
"RequestId": "95d4d743-c578-445e-a021-7846815304bf"
}
}
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 |
|---|---|
| AuthFailure | A CAM signature/authentication error occurred. |
| FailedOperation | The operation failed. |
| InternalError | An internal error occurred. |
| InvalidParameter | The parameter is incorrect. |
| InvalidParameter.ErrIpNoValid | The IP format is invalid. |
| InvalidParameter.InvalidFormat | The parameter format is incorrect. |
| InvalidParameter.IpNoValid | IP format error |
| InvalidParameter.MissingParameter | The required parameter is missing. |
| InvalidParameterValue | The parameter value is incorrect. |
| MissingParameter | The parameter is missing. |
| ResourceNotFound | The resource does not exist. |
| UnknownParameter | The parameter is unknown. |
| UnsupportedOperation | The operation is not supported. |
文档反馈