---
title: "Remove a draft attachment (or all) for an order email"
method: PATCH
path: "/orders/draft-attachments/{id}/remove"
tags: ["Order Controller"]
---

# Remove a draft attachment (or all) for an order email

`PATCH /orders/draft-attachments/{id}/remove`

Send JSON `{ "url": "<full S3 URL>" }` to remove that draft only. Omit `url` (or send an empty body) to remove all draft attachments for this order and delete their files from S3.

## Path parameters

- `id` number, required

## Request body

- object
  - `url` string — Full HTTPS S3 URL of the draft file (same value as in `draftEmailAttachments[].url`). Omit to clear all.

## Response `200`

Draft attachment(s) removed

---

[API](https://skmtc.dev/findmydocument/apis/land-registry-api.md) · [All operations](https://skmtc.dev/findmydocument/apis/land-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/findmydocument/land-registry-api/revisions/b55a990514fb/schema)
