v1

latestOpenAPI 3.1.02026-07-141600153.0 KB

Update a collection

patch/collections/{id}

Path parameters

idstring required

Collection's ID

Headers

x-apikeystring required

Your API key

Request body

datastring json required

Collection object

Response

200

Example response

{
  "data": {
    "attributes": {
      "name": "Updating the name",
      "description": "This is how to create a new collection via API.",
      "top_icon_md5": [
        "1bc1faf71106e964e44cb17ab4dd8d11"
      ],
      "ip_addresses_count": 1,
      "domains_count": 2,
      "creation_date": 1614784765,
      "last_modification_date": 1614784765,
      "urls_count": 2,
      "autogenerated_tags": [
        "cve-2017-5753"
      ],
      "files_count": 1
    },
    "type": "collection",
    "id": "{id}",
    "links": {
      "self": "https://www.virustotal.com/api/v3/collections/{id}"
    }
  }
}