GitLab API icon

GitLab API

Gitlab

Actions1062

Nuget_packages → putApiV4ProjectsIdPackagesNugetAuthorize

AI-generated

Summary

Authorize a NuGet package for a specific 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 for which to authorize the NuGet package.
  • Skip Authentication — Boolean flag to skip using the GitLab API authentication for this request.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

The response body returned from the GitLab API after authorizing the NuGet package, typically including authorization details or status.

The operation performs a PUT HTTP method call to the specified path. Authentication is enabled by default via GitLab API credentials unless skipped. The output shape depends on the GitLab API's response to the authorization request.

Links

Discussion