Delete a collection

As the owner, you can use this endpoint to delete any of your threat objects, including: Threat Actor, Campaign, Malware Family, Software or Toolkit, IoC Collection.

❗️

This endpoint currently supports IoC Collections only. All other object types are in Private Preview.

🚧

Note that this operation only applies to threat objects you own, and Country and Industry Profiles are excluded from this endpoint.

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)
Path Params
string
required

Collection'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