---
title: "Deletes a custom rule"
method: DELETE
path: "/1.1/protection/custom-rules/{customRuleId}"
tags: ["Custom rules"]
---

# Deletes a custom rule

`DELETE /1.1/protection/custom-rules/{customRuleId}`

## Path parameters

- `customRuleId` integer, required

## Response `200`

Acknowledges the deletion of the custom rule

## Other responses

- `404` — Rule not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/datadome/apis/protection-api.md) · [All operations](https://skmtc.net/datadome/apis/protection-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadome/protection-api/revisions/2576052958eb/schema)
