gitlab api pro icon

gitlab api pro

Extended GitLab node

Issue → Delete Note

AI-generated

Summary

Deletes a specific note from an issue on a GitLab project.

Inputs

  • Authentication — Select whether to use saved credentials or custom fields for this node (Optional, default: credential).
  • GitLab Server — Base URL of your GitLab instance, for example "https://gitlab.com" (Optional, default: https://gitlab.com).
  • Access Token — Personal access token with API permissions (Optional).
  • Project Locator — Choose how to identify the project for project-scoped GitLab API endpoints (Optional, default: id).
  • Project ID — Numeric project ID. Used when "Project Locator" is set to "ID". (Optional, default: 0).
  • Project Owner — Namespace or owner of the project. Used when "Project Locator" is set to "Path". (Optional).
  • Project Name — Project slug or name. Used when "Project Locator" is set to "Path". (Optional).
  • Issue IID (required) — Issue number to fetch (must be positive) Default: 1.
  • Note ID (required) — Existing note ID (must be positive) Default: 1.

Output shape

No body — success/failure only

The operation performs a DELETE request to the GitLab API endpoint /issues/{issue_iid}/notes/{note_id}. The node returns the standard n8n execution metadata with an empty JSON body for successful deletions.

Examples

Example 1: Remove a specific comment from an issue in the 'my-project' project.

Project Locator: Path (Owner: 'my-group', Name: 'my-project'), Issue IID: 5, Note ID: 42

Example 2: Delete a note from an issue using the project ID.

Project Locator: ID (Project ID: 123), Issue IID: 10, Note ID: 7

Links

Discussion