GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific Conan package from a GitLab project using the GitLab API. It is useful for managing and cleaning up package repositories by removing outdated or unwanted Conan packages. For example, a user can delete a package version from a project to free up storage or remove deprecated software versions.

Use Case Examples

  1. Deleting a specific Conan package version from a GitLab project to maintain repository hygiene.
  2. Automating package cleanup in CI/CD pipelines by removing old or unused Conan packages.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
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 specific Conan package to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • message - Response message indicating success or failure of the delete operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure all required path parameters (id, package_name, package_version, package_username, package_channel) are correctly provided; missing or incorrect parameters will cause the request to fail.
  • Authentication errors may occur if the GitLab API key is invalid or missing; verify the API key and permissions.
  • Network or base URL issues can cause connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion