GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a specific release from a GitLab project by targeting the release associated with a given Git tag. It is useful for automating the removal of outdated or incorrect releases in a GitLab repository. For example, a user can specify the project ID and the tag name of the release to be deleted, and the node will perform the deletion via the GitLab API.

Use Case Examples

  1. Deleting a release from a project by specifying the project ID and the release tag name to clean up old releases.
  2. Automating release management workflows by removing releases that are no longer needed.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET but DELETE is used for this operation.
Path Parameters Parameters for the API path including project ID and release tag name to identify the release to delete.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • tag_name - The Git tag the release is associated with.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and tag name are correctly specified and URL-encoded if necessary.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • Permission errors can happen if the API key does not have rights to delete releases in the specified project.

Links

Discussion