---
title: "Authorize package upload from workhorse"
method: POST
path: "/api/v4/projects/{id}/packages/rpm/authorize"
tags: ["packages_rpm"]
---

# Authorize package upload from workhorse

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

## Request

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

This feature was introduced in GitLab 15.7

## Path parameters

- `id` string, required

## Response `201`

Authorize package upload from workhorse

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