---
updatedAt: 2026-06-09T05:08:54.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Delete a threat hunt

Allows you to delete an existing non-running threat hunt job. Threat hunt, once deleted, cannot be recovered.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "version": "3.0.0",
    "title": "Cyber Resilience"
  },
  "tags": [
    {
      "name": "Threat Hunting",
      "description": "List of APIs to get information and perform operations on the resources managed in Druva Cloud for threat hunt."
    }
  ],
  "paths": {
    "/threathunting/v1/threathunts/{threatHuntID}": {
      "delete": {
        "tags": [
          "Threat Hunting"
        ],
        "security": [
          {
            "Bearer": []
          }
        ],
        "parameters": [
          {
            "name": "threatHuntID",
            "in": "path",
            "description": "Specify the threat hunt ID to delete a specific threat hunt. You can obtain the ID using the 'List all threat hunts API'.",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThreatHuntJobDeleteParams"
              }
            }
          }
        },
        "summary": "Delete a threat hunt",
        "description": "Allows you to delete an existing non-running threat hunt job. Threat hunt, once deleted, cannot be recovered.",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ThreatHunt_HTTP_400"
                }
              }
            }
          },
          "401": {
            "description": "The request either did not include an authentication token, or you have provided an expired authentication token."
          },
          "404": {
            "description": "The requested resource was not found.",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ThreatHunt_HTTP_404"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ThreatHunt_HTTP_500"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://apis.druva.com/realize"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "ThreatHuntJobDeleteParams": {
        "type": "object",
        "properties": {
          "deleteReason": {
            "type": "string",
            "description": "Specfiy the reason why the threat hunt needs to be deleted.",
            "example": "Finished analysis for this threat hunt."
          }
        }
      },
      "ThreatHunt_HTTP_400": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "THMaster-1002"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Invalid API Syntax"
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "ThreatHunt_HTTP_404": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "THMaster-1003"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "The requested resource was not found."
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "ThreatHunt_HTTP_500": {
        "type": "object",
        "description": "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time.",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "THMaster-1006"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time."
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      }
    }
  }
}
```