Domain name for API request: csip.intl.tencentcloudapi.com.
Delete CSC abnormal login self-learning allowlist rule groups in batches (soft delete the entire group with enable=0). Import any row ID in a group to locate the entire group. Cross-page select all is supported (cap: 100,000 rule groups). Once deleted, the groups will not be automatically re-learned. You need to toggle self-learning again to update the learning anchor. This interface does not rescan historical alarms.
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: DeleteLoginWhiteLearnEDR. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| MemberId.N | No | Array of String | Group account member id |
| Ids.N | No | Array of Integer | Explicitly selected rule ID list, up to 1000; choose either this or SelectAll |
| SelectAll | No | Boolean | Select all across pages: true - Delete all rules that meet Filters (Filters is required at this point). false - Delete only Ids |
| TargetAppIDs.N | No | Array of Integer | List of target account AppIds for multi-account, up to 1000; being empty indicates only the current account; returns InvalidParameter when input but no permissions at all |
| ExcludeIds.N | No | Array of Integer | List of excluded rule IDs |
| Filters.N | No | Array of EDRFilter | Filtering criteria under select all |
| Parameter Name | Type | Description |
|---|---|---|
| DeletedCount | Integer | Number of deleted host record rows (a rule group may contain multiple rows, which is different from the custom allowlist API that uses the number of rules for statistics) |
| FailedAppIds | Array of Integer | List of account AppIds that failed to delete; an error is returned only when all failed |
| 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. |
Delete an abnormal login self-learning allowlist rule group
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteLoginWhiteLearnEDR
<Common request parameters>
{
"Ids": [
42383278
]
}
{
"Response": {
"DeletedCount": 3,
"FailedAppIds": [],
"RequestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
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 | Operation failed. |
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
文档反馈