GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → deleteApiV4PackagesNpmPackage*packageNameDistTagsTag

AI-generated

Summary

Delete a specific dist-tag for an NPM package in GitLab's package registry by specifying the package name as a query parameter and the dist-tag as a path parameter.

Inputs

  • package_name (required) — The name of the NPM package whose dist-tag you want to delete, provided as a query parameter.
  • tag (required) — The dist-tag of the NPM package to delete, specified as a path parameter.
  • baseUrl — Optional base URL to use instead of the default GitLab instance (default: https://gitlab.com).
  • skipAuthentication — Optionally skip authentication for the request (default: false).

Output shape

no body — success/failure only

The operation performs a DELETE HTTP request to GitLab's API to remove the specified package dist-tag. Success is indicated by standard HTTP response codes; no additional data is returned in the response body.

Links

Discussion