GitLab API

GitlabTool

Actions1095

Nuget_packages → putApiV4ProjectsIdPackagesNugetAuthorize

AI-generated

Summary

Authorize access to a NuGet package in a GitLab project by sending a PUT request to the /api/v4/projects/{id}/packages/nuget/authorize endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the NuGet package.
  • skipAuthentication — If set to true, skips using authentication credentials for the request; otherwise uses GitLab API credentials.

Output shape

a JSON object containing the authorization response from GitLab for the NuGet package.

The operation requires authentication unless explicitly skipped. The project identifier must be provided as a path parameter 'id'. Responses follow GitLab API conventions and may include authorization tokens or related data.

Links

Discussion