GitLab API

GitlabTool

Actions1095

Pypi_packages → postApiV4ProjectsIdPackagesPypiAuthorize

AI-generated

Summary

Authorize a PyPI package upload or access for a specific GitLab project by sending a POST request to the project's PyPI authorize endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project for which PyPI package authorization is requested.
  • skipAuthentication — Optionally skip authentication when making the API call.

Output shape

A JSON response object from the GitLab API representing the authorization information for PyPI package publishing/access for the specified project.

The operation returns the raw JSON response from the GitLab API POST /api/v4/projects/{id}/packages/pypi/authorize endpoint. The project ID parameter is required and must be specified in the path parameters. Authentication uses the configured GitLab API credentials unless skipped via 'skipAuthentication'. No pagination or multi-item results are involved.

Links

Discussion