patch https://www.virustotal.com/api/v3/collections/
This endpoint allows updating an IoC collection's attributes (such as name or description) and adding new elements to the IoC collection by using a raw text.
The following request body shows an example of how to update an IoC collection's name and add new IOCs to it by using a raw text:
{
"data": {
"attributes": {
"name": "Updating the name"
},
"raw_items": "This is a text containing a IoC, www.virustotal.com",
"type": "collection"
}
}