GitLab API icon

GitLab API

Gitlab

Actions1062

Nuget_packages → putApiV4ProjectsIdPackagesNugetSymbolpackageAuthorize

AI-generated

Summary

Authorize a NuGet symbol package for a specific GitLab project by sending a PUT request to the GitLab API endpoint /api/v4/projects/{id}/packages/nuget/symbolpackage/authorize.

Inputs

  • id (required) — The ID or URL-encoded path of the project to authorize the symbol package for.
  • skipAuthentication — Set to true to skip authentication; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

The operation returns the API response from the GitLab server, which corresponds to the result of authorizing the NuGet symbol package for the specified project.

The request uses HTTP PUT on the path /api/v4/projects/{id}/packages/nuget/symbolpackage/authorize. Authentication is required unless explicitly skipped. The exact response shape depends on the GitLab API and is not detailed here.

Examples

Example 1: Authorize a NuGet symbol package for project with ID '1234'

Set path parameter 'id' to '1234', ensure authentication is enabled, and execute the PUT request to /api/v4/projects/1234/packages/nuget/symbolpackage/authorize. Use default baseUrl unless otherwise configured.

Links

Discussion