---
title: "Upload a RPM package"
method: POST
path: "/api/v4/projects/{id}/packages/rpm"
tags: ["packages_rpm"]
---

# Upload a RPM package

`POST /api/v4/projects/{id}/packages/rpm`

## Request

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

This feature was introduced in GitLab 15.7

## Path parameters

- `id` string, required

## Response `201`

Upload a RPM package

## 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)
