Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to query asset database information.
A maximum of 200 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: ModifyImageVirusWhitelist. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| RuleId | Yes | Integer | Trojan whitelist id |
| MemberId.N | No | Array of String | Group account member id |
| Md5List.N | No | Array of String | Trojan whitelist md5 |
| Scope | No | Integer | Whitelist effective range |
| ImageIds.N | No | Array of String | Image id list for the effective allowlist |
| Remark | No | String | Remarks. |
| Status | No | Integer | Whether to enable Enumeration values:
|
| Name | No | String | Allowlist name |
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyImageVirusWhitelist
<Common request parameters>
{
"RuleId": 1,
"MemberId": [
"mem-12e1se11"
],
"Md5List": [
"5FEC0F7****************BBF2E9B89"
],
"Scope": 1,
"ImageIds": [
"1"
],
"Remark": "Trojan allowlist"
}
{
"Response": {
"RequestId": "a6dde640-5779-4ee2-b652-5fe94e879147"
}
}
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 | CAM signature/authentication error. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidFilter | Invalid Filter |
| InvalidParameter | Parameter error. |
| InvalidParameter.ResourceId | InvalidParameter.ResourceId |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| RequestLimitExceeded | Number of requests exceeds the frequency limit. |
| ResourceInUse | The resource is occupied. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| UnauthorizedOperation.NoPermission | UnauthorizedOperation.NoPermission |
| UnknownParameter | Unknown parameter error. |
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