GitLab API

GitlabTool

Actions1095

Generic_packages → putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize

AI-generated

Summary

Updates a generic package file's authorization metadata in a GitLab project using the GitLab API.

Inputs

  • id (required) — The ID or URL-encoded path of the project.
  • package_name (required) — The name of the generic package.
  • file_name (required) — The name of the file within the package.
  • putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize (required) — The request body containing the authorization metadata to update (required).

Output shape

a single record

The node relies on a bundled OpenAPI specification for request/response handling. The request body schema is hidden and provided by the OpenAPI definition.

Examples

Example 1: Authorize a new download for a file in a generic package.

Set path parameters for project ID, package name, and file name; provide authorization details in the request body.

Links

Discussion