This URL deletes a specified threat feed.
Important
Before deleting a configured threat feed, you should check if any Sensor is assigned to that feed using Get Feed Assignments API. If any Sensors are found, you must de-assign them first using Edit Threat Feed - Device Assignments API.
Resource URL
DELETE threatfeedintelligence/deleteThreatFeed/{threatFeedId}
Request Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Threat feed Id | Number | Yes |
Response Parameters
Field Name | Description | Data Type |
|---|---|---|
| Success status (true or false) | Boolean |
| Message | String |
| Error message | String |
| Error code | Number |
Example
Request
DELETE https://<Manager_IP>/sdkapi/threatfeedintelligence/deleteThreatFeed/2
Response
{
"success": true,
"msg": null,
"errMsg": null,
"errorCode": 0
}Error Information
The following error code is returned by this URL:
S.No | Generic Error Codes | ErrorMessage | Error Reason |
|---|---|---|---|
1 | 1001 | Bad URL - HTTP 404 Not Found | Mistyped URL |
Internal Error – Null | Incorrect Input data, authentication issues |