---
title: "Delete a custom rule"
method: DELETE
path: "/custom-rules/{customRuleId}"
tags: ["CustomRules"]
---

# Delete a custom rule

`DELETE /custom-rules/{customRuleId}`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/custom-rules/{customRuleId}`
- Auth: API key in header `X-ESCAPE-API-KEY`

Delete a custom rule for the organization.

## Path parameters

- `customRuleId` string, uuid, required: The ID of the custom rule to delete

## Response `200`

OK

- object
  - `deleted` boolean, required

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
