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)
Language
Click Try It! to start a request and see the response here!