---
title: "Delete YARA rule"
method: DELETE
path: "/yara/{ruleName}"
---

# Delete YARA rule

`DELETE /yara/{ruleName}`

## Request

- Base URL: `https://sandbox.recordedfuture.com/api/v0`
- URL: `https://sandbox.recordedfuture.com/api/v0/yara/{ruleName}`
- Auth: API key in header `Authorization`

Permanently remove a YARA rule while preserving existing match results.

## Path parameters

- `ruleName` string, required

## Response `200`

Rule deleted successfully.

- object: Empty response confirming deletion.

## Other responses

- `404`: Rule not found.

---

[API](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti.md) - [All operations](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/llms.txt) - [OpenAPI document](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/revisions/39ea918b1dca?raw)
