GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → deleteApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag

AI-generated

Summary

Delete a dist-tag from a specific npm package within a GitLab group.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group containing the npm package.
  • package_name (required) — The name of the npm package to remove the dist-tag from.
  • tag (required) — The dist-tag of the package version to delete.

Output shape

a single record containing the response from the GitLab API confirming the deletion or error details

This operation performs an HTTP DELETE request to the GitLab API endpoint /api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags/{tag}. Authentication is required unless explicitly skipped. The result reflects the success or failure of the tag removal operation.

Links

Discussion