---
title: "Delete an edge rule"
method: DELETE
path: "/projects/{project_id}/edge-rules/{rule_id}"
tags: ["Edge Rules"]
---

# Delete an edge rule

`DELETE /projects/{project_id}/edge-rules/{rule_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/edge-rules/{rule_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `rule_id` integer, required

## Response `204`

Rule deleted

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Project or rule not found
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-31** `c2d57aea4875`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/edge-rules/:rule_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
