---
title: "Upload a NuGet symbol package file"
method: PUT
path: "/api/v4/projects/{id}/packages/nuget/symbolpackage"
tags: ["packages_nuget"]
---

# Upload a NuGet symbol package file

`PUT /api/v4/projects/{id}/packages/nuget/symbolpackage`

## Request

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

Uploads a specified NuGet symbol package file (`.snupkg`) for a project.

## Path parameters

- `id` string, required

## Request body

- PutApiV4ProjectsIdPackagesNugetSymbolpackage: Upload a NuGet symbol package file
  - `package` string, binary, required: The package file to be published (generated by Multipart middleware)

## Response `201`

Upload a NuGet symbol package file

## Other responses

- `400`: Bad Request
- `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)
