GitLab API

GitlabTool

Actions1095

Debian_packages → putApiV4ProjectsIdPackagesDebianFileName

AI-generated

Summary

Update a Debian package file in a GitLab project by specifying the project ID, the Debian package filename, and providing the update details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project containing the Debian package.
  • file_name (required) — The filename of the Debian package to update (e.g., 'example_1.0.0~alpha2_amd64.deb').
  • putApiV4ProjectsIdPackagesDebianFileName (required) — The request body containing the update details for the Debian package file as specified by the GitLab API's schema.
  • skipAuthentication — Optional flag to bypass authentication if set to true; otherwise, uses GitLab API credentials.
  • baseUrl — Optional override for the GitLab instance base URL, defaulting to 'https://gitlab.com'.

Output shape

a single JSON object representing the updated Debian package file resource as returned by the GitLab API

Returns the API response body for the updated Debian package file. Authentication is required unless 'skipAuthentication' is set to true. The endpoint used is PUT /api/v4/projects/{id}/packages/debian/{file_name}.

Links

Discussion