---
title: "Delete package version"
method: DELETE
path: "/scopes/{scope}/packages/{package}/versions/{version}"
---

# Delete package version

`DELETE /scopes/{scope}/packages/{package}/versions/{version}`

Deletes a package version. Only allowed for versions published in the last 24 hours with no dependents.

## Path parameters

- `scope` string, required — The name of a scope. This must not be @ prefixed.
- `package` string, required — The name of a package.
- `version` string, required — A semantic version.

## Response `204`

OK, no content

## Other responses

- `400` — Invalid request / Version has dependents / Version too old
- `401` — Unauthorized
- `403` — User is not a scope admin
- `404` — Package version not found

## Changes

> 15 revisions in range; 4 could not be searched.

- **2026-02-06** `0c4e8d8a5c2a` — 1 info
  - endpoint added
- **2024-02-28** `f8d3b912d946` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/jsr-io/apis/jsr-api/changes/scopes/:scope/packages/:package/versions/:version/delete.md)

---

[API](https://skmtc.dev/jsr-io/apis/jsr-api.md) · [All operations](https://skmtc.dev/jsr-io/apis/jsr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jsr-io/jsr-api/revisions/abb153728b13/schema)
