---
title: "The NuGet V2 Feed Package Authorize endpoint"
method: PUT
path: "/api/v4/projects/{id}/packages/nuget/v2/authorize"
tags: ["packages_nuget"]
---

# The NuGet V2 Feed Package Authorize endpoint

`PUT /api/v4/projects/{id}/packages/nuget/v2/authorize`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/packages/nuget/v2/authorize`
- Auth: none declared

This feature was introduced in GitLab 16.2

## Path parameters

- `id` string, required

## Response `200`

The NuGet V2 Feed Package Authorize endpoint

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
