Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to delete CSC abnormal login custom allowlist entries in batches (soft delete, status=2), with support for cross-page select all. Either Ids or SelectAll is required. If both are empty, InvalidParameter is returned. If the total amount of cross-page select all exceeds 100,000 entries, the entire request is denied.
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: DeleteLoginWhiteCustomEDR. |
| 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 | List of explicitly selected rule IDs, up to 1,000; mutually exclusive with 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, up to 1000 |
| Filters.N | No | Array of EDRFilter | Filtering criteria under select all |
| Parameter Name | Type | Description |
|---|---|---|
| DeletedCount | Integer | Number of deleted rules |
| FailedAppIds | Array of Integer | List of account AppIds that failed to delete; returns an error only if 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. |
Batch delete custom allowlist for abnormal logins
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteLoginWhiteCustomEDR
<Common request parameters>
{
"Ids": [
101,
102
],
"SelectAll": false,
"TargetAppIDs": []
}
{
"Response": {
"DeletedCount": 2,
"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. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan