Delete an IoC collection

Examples

Delete a private IoC collection.

import requests

object_id = "bd4dbd7a189ca9a31cb1b0bdbe64aaba6aa1454ddcfde707518b811d2bc5b363"
url = f"https://www.virustotal.com/api/v3/collections/{object_id}"
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!