To delete a feed name, send the following request:
DELETE https://<IA_IP_address>:<port_number>/threatintelservice/v1/feedname/<feed_name>
Note
To use this request, your user account must have admin privileges.
Required headers:
X-Username: <user> X-Role: <role>
Options
IA_IP_address—The IP address of the NDR appliance running the NDR API.
port_number—The port number of the NDR appliance running the NDR API.
token—This token authenticates the session. By default, the session times out after 24 hours.
user—The user ID.
role—The user's role.
Parameters
feed_name—(string) The name of the feed name to delete.
Example
DELETE https://xxx.xxx.xxx.xxx:443/threatintelservice/v1/feedname/mynewfeed
Required headers:
Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > X-Username: wheel X-Role: wheel
Delete a feed name: Response
HTTP/1.1 [Response Code] [Response Message]
{
"payload": "message",
"status": "status"
}Response fields
Response Code—A standard HTTP response code.
200—Request successful; the feed names was created.
Response Message—A standard HTTP response message.
OK—Request successful; the feed names were returned.
payload—Can be one of:
Feed deleted.
Feed name not found in the system.
status—Can be failed or OK.
Example
HTTP/1.1 200 OK
{
"payload": "Feed deleted.",
"status": "OK"
}cURL code sample: Delete a feed name
curl -k -X DELETE --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -H "X-Username: wheel" -H "X-Role: wheel" https://xxx.xxx.xxx.xxx:443/threatintelservice/v1/feedname/mynewfeed
This cURL sample includes the following options:
-k—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate.-X DELETE—Specifies using the DELETE method.--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"—This option specifies the authentication token for this session.-H "X-Username: wheel"—User name.-H "X-Role: wheel"—User role.https://xxx.xxx.xxx.xxx:443/threatintelservice/v1/feedname/mynewfeed—The feed name request URL. Replacexxx.xxx.xxx.xxxwith the IP address of your NDR appliance, andmynewfeedwith the name you want to delete.
Results
This example deletes the specified feed.