gitlab api pro icon

gitlab api pro

Extended GitLab node

Pipeline → Cancel

AI-generated

Summary

Cancel a specific pipeline in a GitLab project by its numeric pipeline ID.

Inputs

  • authentication — Choose to use either saved credentials or custom fields for authentication (optional, default is 'credential').
  • GitLab Server — Base URL of the GitLab instance (e.g., 'https://gitlab.com'), used only if custom authentication is selected (optional, default is 'https://gitlab.com').
  • Access Token — Personal access token with API permissions, used only if custom authentication is selected (optional).
  • Project Locator — Select how to identify the project for scoped GitLab API endpoints, by 'ID' (default) or by 'Path'.
  • Project ID — Numeric ID of the project (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').
  • Pipeline ID (required) — Numeric and positive ID of the pipeline to cancel.

Output shape

a single record containing the JSON response from GitLab's pipeline cancel endpoint

Returns the data for the cancelled pipeline. Authentication is required, and the pipeline must exist in the identified project. If authentication or parameters are missing or invalid, an error is thrown.

Links

Discussion