---
title: "Updates existing IOC Set"
method: PATCH
path: "/threatintel/v1/ioc-sets/{iocsetid}"
tags: ["Threat Intel"]
---

# Updates existing IOC Set

`PATCH /threatintel/v1/ioc-sets/{iocsetid}`

Allows you to update the details of the existing IOC Sets and also to add new IOCs to IOC Sets.

## Path parameters

- `iocsetid` integer, required

## Request body

- UpdateIocSetRequestBody — UpdateIocSetRequestBody is the request structure to handle IOC set create request
  - `description` string — IOC Set description.
  - `iocs` string[] — IOCs that needs to be added in IOC set
  - `name` string — Name of the IOC Set.
  - `source` string — Source of IOC Set.

## Response `200`

IOC Set updated successfully.

## Other responses

- `400` — Bad Request
- `401` — The request either did not include an authentication token, or you have provided an expired authentication token.
- `404` — The requested resource was not found.
- `500` — Internal error.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
