---
title: "Delete a package"
method: DELETE
path: "/packages/{id}"
tags: ["Package"]
---

# Delete a package

`DELETE /packages/{id}`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/packages/{id}`
- Auth: HTTP bearer

Soft-delete a package. Its revisions are retained, so a service that points at one of them keeps resolving its bill of materials.

## Path parameters

- `id` string, uuid, required

## Response `204`

The package was deleted.

## Other responses

- `4XX`: Client error responses due to invalid input, missing parameters or insufficient permissions.
- `5XX`: Server error responses.

## Changes

- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/packages/:id/delete.md)

---

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