---
title: "Update a draft"
description: "A partial update: fields you omit are left exactly as they were."
url: "https://openemail.uk/docs/api/drafts/update"
area: "API"
category: "Mailbox"
---

# Update a draft

A partial update: fields you omit are left exactly as they were.

`PATCH /drafts/{id}`

## PATCH /drafts/{id}

A partial update: fields you omit are left exactly as they were.

## Example

Needs `drafts:write`.

**curl**

```
curl -X PATCH "$OE/drafts/draft-fdc85673-…" -H "$AUTH" -H "Content-Type: application/json" \
  -d '{ "subject": "Revised subject" }'
```

**Response**

```
{ "object": "draft", "id": "draft-fdc85673-…" }
```

> Read the id back from the response rather than reusing the one you sent.
