GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → deleteApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

AI-generated

Summary

Deletes a Conan package from the GitLab Conan package registry via the GitLab API v4 endpoint.

Inputs

  • package_name (required) — The name of the Conan package, e.g. my-package.
  • package_version (required) — The version of the Conan package, e.g. 1.0.
  • package_username (required) — The GitLab Conan package username. For GitLab projects this is typically encoded as group+project, e.g. my-group+my-project.
  • package_channel (required) — The Conan package channel, e.g. stable.
  • baseUrl — Base URL of the GitLab instance. Defaults to https://gitlab.com. The source indicates the actual base URL is normally supplied by the gitlabApi credential.
  • skipAuthentication — Whether to send the request without GitLab credentials. Defaults to false, so the node normally authenticates with the gitlabApi credential.

Output shape

Pass-through GitLab API response for the DELETE operation

The operation returns the GitLab API response for the DELETE request. No request body is declared, and the node's source does not specify a custom response transformation; the exact response shape is the one returned by GitLab for this endpoint.

Examples

Example 1: A workflow author building a cleanup process for the GitLab Conan package registry would use this operation after determining the exact package_name, package_version, package_username, and package_channel values of the package to remove.

Use this operation to delete a Conan package from a GitLab project's package registry. It sends an authenticated DELETE request to the GitLab API endpoint /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}.

Links

Discussion