From b6c3f528687a4d5df3e812e6ec668a3aa182f52c Mon Sep 17 00:00:00 2001
From: Kerri Miller <kerrizor@kerrizor.com>
Date: Fri, 10 Mar 2023 15:30:24 +0000
Subject: [PATCH] Small revisions from editorial review

Alphabetize lines. Add back a missing
quotation mark.
---
 doc/api/draft_notes.md | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/doc/api/draft_notes.md b/doc/api/draft_notes.md
index e0d00517291d5..079b08781ae1e 100644
--- a/doc/api/draft_notes.md
+++ b/doc/api/draft_notes.md
@@ -115,6 +115,25 @@ POST /projects/:id/merge_requests/:merge_request_iid/draft_notes
 curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/14/merge_requests/11/draft_notes?note=note
 ```
 
+## Modify existing draft note
+
+Modify a draft note for a given merge request.
+
+```plaintext
+PUT /projects/:id/merge_requests/:merge_request_iid/draft_notes/:draft_note_id
+```
+
+| Attribute           | Type              | Required    | Description           |
+| ------------------- | ----------------- | ----------- | --------------------- |
+| `id`                | integer or string | yes         | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding).
+| `draft_note_id`     | integer           | yes         | The ID of a draft note.
+| `merge_request_iid` | integer           | yes         | The IID of a project merge request.
+| `note`              | string            | no          | The content of a note.
+
+```shell
+curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/14/merge_requests/11/draft_notes/5"
+```
+
 ## Delete a draft note
 
 Deletes an existing draft note for a given merge request.
-- 
GitLab