GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

AI-generated

Summary

Delete a specific draft note from a merge request in a GitLab project using project ID, merge request IID, and draft note ID as path parameters.

Inputs

  • id (required) — The ID of the GitLab project from which the draft note will be deleted.
  • merge_request_iid (required) — The internal ID of the merge request containing the draft note.
  • draft_note_id (required) — The ID of the draft note to delete.

Output shape

no body

deletes a draft note and returns no content upon success

The operation sends an HTTP DELETE request to the GitLab API and returns no data in the response body if successful.

Examples

Example 1: Delete a draft note with project ID '123', merge request IID '45', and draft note ID '678'.

Set 'id' to '123', 'merge_request_iid' to '45', and 'draft_note_id' to '678' in the path parameters, then execute the operation.

Links

Discussion