Actions71
- Branch Actions
- File Actions
- Group Actions
- Issue Actions
- Merge Request Actions
- Pipeline Actions
- Project Actions
- Raw API Actions
- Release Actions
- Tag Actions
Merge Request → Delete Discussion
AI-generatedSummary
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.