Delete subscription from a threat object

Use this endpoint to unfollow a certain Threat Intelligence object (Threat Actor, Campaign, Malware Family, Software or Toolkit Actor and IoC Collection), stopping IoC Stream and email notifications for new IoCs added to it.

Examples

Unfollow the Threat Actor with threat-actor--eadd7673-d81f-54f3-83a7-cbaa461828e4 identifier.

import requests

object_id = "threat-actor--eadd7673-d81f-54f3-83a7-cbaa461828e4"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/subscription_preferences"
headers = {
    "accept": "application/json","x-apikey": <api-key>
}
response = requests.delete(url, headers=headers)
Path Params
string
required

Threat's ID

Headers
string
required

Your API key

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json