GitLab API icon

GitLab API

Gitlab

Actions1062

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 GitLab API endpoint for package authorization.

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 authorize.
  • putApiV4ProjectsIdPackagesDebianFileNameAuthorize (required) — The request body parameters required for authorizing access to the Debian package file.
  • skipAuthentication — Optionally skip authenticating the API request (default is false).
  • method — The HTTP method to use; default is 'put' for this operation.
  • baseUrl — The base URL for the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

no body — success/failure only

The operation returns no response body but indicates success or failure of the authorization action via HTTP status codes.

Examples

Example 1: Authorize a Debian package file 'example_1.0.0~alpha2_amd64.deb' in project with ID '12345'.

Set 'id' to '12345', 'file_name' to 'example_1.0.0~alpha2_amd64.deb', provide valid request body per API schema, use PUT method.

Links

Discussion