---
title: "Delete an existing IOC Set."
method: DELETE
path: "/threatintel/v1/ioc-sets/{iocsetid}"
tags: ["Threat Intel"]
---

# Delete an existing IOC Set.

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

Allows you to delete an existing IOC Set and also all the IOCs in it.

## Path parameters

- `iocsetid` integer, required

## Request body

- DeleteIocSetBody
  - `deleteReason` string — Reasion for deletion.

## Response `200`

Ioc set deleted 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)
