GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → deleteApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

AI-generated

Summary

Delete a specific Conan package version from a GitLab project by providing the project ID and package details.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Conan package to delete.
  • package_name (required) — The name of the Conan package to delete.
  • package_version (required) — The version of the Conan package to delete.
  • package_username (required) — The username or namespace associated with the Conan package.
  • package_channel (required) — The channel name of the Conan package.
  • skipAuthentication — Optionally skip authenticating the request (defaults to false).
  • baseUrl — The base URL for the GitLab instance (default is https://gitlab.com).

Output shape

no body — success/failure only

This operation sends a DELETE request to remove the specified Conan package version. It returns no content on success; errors are returned if deletion fails.

Examples

Example 1: Delete a Conan package version

Set the project ID to 123, package_name to 'my-package', package_version to '1.0', package_username to 'my-group+my-project', and package_channel to 'stable'. Use default authentication and baseUrl.

Links

Discussion