---
title: "Delete correspondent policy rule"
method: DELETE
path: "/v1/policy/rules/{id}"
tags: ["policy"]
---

# Delete correspondent policy rule

`DELETE /v1/policy/rules/{id}`

## Request

- Base URL: `https://api.openmail.sh`
- URL: `https://api.openmail.sh/v1/policy/rules/{id}`
- Auth: HTTP bearer

Remove a single policy rule by its ID. Inbox-scoped keys are rejected. A pod-scoped key may delete a rule on its own pod or an inbox in that pod, never an account-wide rule.

## Path parameters

- `id` string, required

## Response `204`

Rule deleted

## Other responses

- `403`: The authenticating key is scoped and cannot manage policy
- `404`: Rule not found

---

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