GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a protected tag from a specified project in GitLab using the GitLab API. It is useful for managing project tags by removing tags that are no longer needed or should no longer be protected. For example, a user can delete a protected tag named 'release-1-0' from a project identified by its ID or URL-encoded path.

Use Case Examples

  1. Delete a protected tag 'release-1-0' from project with ID '12345' to allow normal tag operations on that tag.
  2. Remove outdated or incorrect protected tags from a project to maintain clean version control.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the project and the protected tag to delete.

Output

JSON

  • success - Indicates whether the protected tag was successfully deleted.
  • statusCode - HTTP status code returned by the API indicating the result of the delete operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and protected tag name are correctly specified; incorrect values will cause the API to fail.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials are correctly configured.
  • HTTP method must be DELETE for this operation; using other methods may result in errors.

Links

Discussion