---
title: "Delete a standing delegation"
method: DELETE
path: "/api/assistant/rules/{id}"
tags: ["Mailzero Assistant"]
---

# Delete a standing delegation

`DELETE /api/assistant/rules/{id}`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/assistant/rules/{id}`
- Auth: HTTP bearer

Removes the rule; the items it handed over come back to the owner, the receipts of what the assignee did stay. Requires `assistant:write`; an agent token is refused.

## Path parameters

- `id` string, required

## Response `200`

Deleted

- object
  - `deleted` boolean
  - `released_items` integer

## Other responses

- `401`: Missing or invalid API key
- `404`: No such rule
- `429`: Rate limit exceeded - wait and retry

---

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