gitlab api pro icon

gitlab api pro

Extended GitLab node

Tag → Create

AI-generated

Summary

Create a new tag in a specified GitLab project using an existing branch or commit as the reference point, optionally including a message.

Inputs

  • Authentication — Choose to use saved credentials or custom authentication fields for the GitLab server and access token.
  • GitLab Server — Base URL of the GitLab instance, e.g., 'https://gitlab.com'; used if custom authentication is selected.
  • Access Token — Personal access token with API permissions; used if custom authentication is selected.
  • Project Locator — Method to identify the project, either by numeric ID or by path (owner and project name). Defaults to 'id'.
  • Project ID — Numeric project ID, 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'.
  • Tag Name (required) — Name of the tag to create.
  • Ref (required) — The existing branch or commit SHA to create the tag from, e.g., 'main'. Defaults to 'main'.
  • Message — Optional message associated with the tag.

Output shape

a single record representing the created tag

Returns the newly created tag's details as JSON. The operation performs a POST request to the GitLab API with the tag parameters.

Links

Discussion