SeparateMalwares

Last updated: 2020-04-10 10:54:53

1. API Description

Domain name for API request: yunjing.tencentcloudapi.com.

This API is used to isolate trojans.

A maximum of 20 requests can be initiated per second for this API.

2. Input Parameters

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 parameter. The value used for this API: SeparateMalwares.
Version Yes String Common parameter. The value used for this API: 2018-02-28.
Region No String Common parameter. This parameter is not required for this API.
Ids.N Yes Array of Integer Trojan event ID array.

3. Output Parameters

Parameter Name Type Description
SuccessIds Array of Integer Array of IDs of successfully isolated trojans.
FailedIds Array of Integer Array of IDs of trojans failed to be isolated.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Isolating trojans

This example shows you how to isolate trojans.

Input Example

https://yunjing.tencentcloudapi.com/?Action=SeparateMalwares
&Ids.0=123
&Ids.1=456
&<Common request parameters>

Output Example

{
  "Response": {
    "SuccessIds": [
      123,
      456
    ],
    "FailedIds": [],
    "RequestId": "4985eb7f-62d6-4da8-898f-d92a08660a38"
  }
}

5. Developer Resources

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.PartSeparate Failed to isolate all or part of servers.
FailedOperation.SingleSeparate Failed to isolate a single server.
InternalError Internal error.
InvalidParameter.InvalidFormat Incorrect parameter format.
InvalidParameter.MissingParameter Missing parameter.
InvalidParameter.ParsingError Parameter parsing error.