---
title: "Delete a rule"
method: DELETE
path: "/email-rules/{id}"
tags: ["Email Rules"]
---

# Delete a rule

`DELETE /email-rules/{id}`

## Request

- Base URL: `https://sending.dev/api/v1`
- URL: `https://sending.dev/api/v1/email-rules/{id}`
- Auth: HTTP bearer

Required scope: `inbox:write`. (`inbox:*` scope cannot be assigned from the UI: it requires a full-access `*` key).

## Path parameters

- `id` string, required: Rule ID.

## Response `200`

Rule deleted.

- Ok
  - `ok` true, required

## Other responses

- `401`: Missing or invalid token.
- `403`: Insufficient scope.
- `404`: Resource not found.

---

[API](https://skmtc.dev/sending/apis/sending-dev-api.md) · [All operations](https://skmtc.dev/sending/apis/sending-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sending/apis/sending-dev-api/revisions/9fe78d2918a1?raw)
