gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Delete Discussion

AI-generated

Summary

Delete a discussion from a specified merge request within a GitLab project.

Inputs

  • Authentication — Choose to use saved credentials or provide custom GitLab instance URL and personal access token.
  • GitLab Server — Base URL of the GitLab instance (default: https://gitlab.com). Required if using custom authentication.
  • Access Token — Personal access token with API permissions. Required if using custom authentication.
  • Project Locator — Choose between identifying the project by ID or by namespace and project name path.
  • Project ID — Numeric ID of the GitLab project, used when Project Locator is set to ID.
  • Project Owner — Namespace or owner of the project, used when Project Locator is set to Path.
  • Project Name — Slug or name of the project, used when Project Locator is set to Path.
  • Merge Request IID (required) — Internal ID (IID) of the merge request to delete the discussion from (must be positive).
  • Discussion ID (required) — ID of the discussion to delete, e.g., '123abc'.

Output shape

a single record

Returns the JSON response from the GitLab API upon successful deletion of the specified discussion. Typically, the response will be empty or indicate success. Errors are thrown if input validation fails or the API call does not succeed.

Examples

Example 1: Delete a discussion from a merge request using project ID

Set authentication to use saved credentials, specify Project Locator as ID, provide Project ID, input the Merge Request IID and the Discussion ID to delete the discussion.

Links

Discussion