gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Rebase

AI-generated

Summary

Rebase a specific merge request in a GitLab project, optionally skipping CI pipelines.

Inputs

  • Authentication — Choose to use saved credentials or specify custom GitLab server URL and personal access token.
  • GitLab Server — Base URL of your GitLab instance, used only if custom authentication is selected.
  • Access Token — Personal access token with API permissions, used only if custom authentication is selected.
  • Project Locator — Select whether to identify the project by its numeric ID or by namespace and project name path.
  • Project ID — Numeric ID of the project, required if Project Locator is set to ID.
  • Project Owner — Namespace or owner of the project, required if Project Locator is set to Path.
  • Project Name — Project slug or name, required if Project Locator is set to Path.
  • Merge Request IID (required) — The internal ID of the merge request to rebase (must be a positive number).
  • Skip CI — Set to true to skip triggering CI pipelines when rebasing; defaults to false.

Output shape

a single record

Returns the updated merge request object as JSON after initiating the rebase operation via a PUT request to the GitLab API. Any API errors will be thrown as NodeApiError.

Links

Discussion