gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Delete Discussion Note

AI-generated

Summary

Delete a specific note from a discussion within a merge request in a GitLab project.

Inputs

  • Authentication — Choose to use saved credentials or provide a custom GitLab server URL and personal access token.
  • GitLab Server — Base URL of your GitLab instance, used only if custom authentication is selected. Defaults to 'https://gitlab.com'.
  • Access Token — Personal access token with required API permissions, used if custom authentication is selected.
  • Project Locator — Choose to identify the project by its numeric ID or by namespace and project name path.
  • Project ID — Numeric project ID, used if project locator is set to ID.
  • Project Owner — Namespace or owner of the project, used if project locator is set to path.
  • Project Name — Project slug or name, used if project locator is set to path.
  • Merge Request IID (required) — The IID of the merge request containing the discussion.
  • Discussion ID (required) — ID of the discussion from which to delete the note.
  • Note ID (required) — ID of the note to delete (must be a positive number).

Output shape

a single JSON object confirming the deletion or an error if deletion failed

If successful, the API returns an empty body with HTTP status 204. The node output corresponds to this response and confirms the deletion; errors return appropriate messages.

Examples

Example 1: Delete a discussion note

Set authentication, specify the project either by ID or path (owner and name), provide the merge request IID, the discussion ID, and the note ID to delete that specific note from the discussion.

Links

Discussion