GitLab API

GitlabTool

Actions1095

Debian_packages → putApiV4ProjectsIdPackagesDebianFileNameAuthorize

AI-generated

Summary

Authorize access to a specific Debian package file within a GitLab project by sending a PUT request to the project's Debian package authorization endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Debian package.
  • file_name (required) — The exact filename of the Debian package to authorize, e.g., 'example_1.0.0~alpha2_amd64.deb'.
  • putApiV4ProjectsIdPackagesDebianFileNameAuthorize (required) — An object containing the authorization details required by the GitLab API for the Debian package file authorization.

Output shape

a single record representing the API response from the authorization request

The operation sends a body payload as required by the GitLab API to the PUT endpoint /api/v4/projects/{id}/packages/debian/{file_name}/authorize and returns the API's JSON response. Authentication is used by default unless explicitly skipped.

Links

Discussion