---
title: "Update a collection"
method: PATCH
path: "/collections/{id}"
---

# Update a collection

`PATCH /collections/{id}`

## Path parameters

- `id` string, required

## Headers

- `x-apikey` string, required

## Request body

- object
  - `data` string, json, required — Collection object

## Response `200`

200

- object
  - `data` object
    - `attributes` object
      - `name` string
      - `description` string
      - `top_icon_md5` string[]
      - `tags` object[]
      - `ip_addresses_count` integer
      - `domains_count` integer
      - `creation_date` integer
      - `last_modification_date` integer
      - `references_count` integer
      - `alt_names` object[]
      - `urls_count` integer
      - `autogenerated_tags` string[]
      - `files_count` integer
    - `type` string
    - `id` string
    - `links` object
      - `self` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/virustotal/apis/virustotal-api-v3.md) · [All operations](https://skmtc.net/virustotal/apis/virustotal-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/virustotal/virustotal-api-v3/versions/d2de390925aa/schema)
