GitLab API

GitlabTool

Actions1095

Npm_packages → putApiV4ProjectsIdPackagesNpmPackageName

AI-generated

Summary

Update an existing npm package in a specific GitLab project by sending a PUT request to the corresponding API endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to update the npm package for.
  • package_name (required) — The name of the npm package to update.
  • putApiV4ProjectsIdPackagesNpmPackageName (required) — The request body containing the updated npm package data, following the API schema for this endpoint.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Boolean flag to skip authentication; defaults to false.

Output shape

a single record representing the updated npm package resource

Returns the updated npm package details as returned by the GitLab API. The operation requires proper authentication unless skipAuthentication is true. Path parameters id and package_name must be specified.

Links

Discussion