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

# Delete package

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

Deletes a package if the package has no versions

## Path parameters

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

## Response `204`

OK, no content

## Other responses

- `400` — Invalid request / Package has versions
- `401` — Unauthorized
- `403` — User is not a scope admin
- `404` — Package not found

---

[API](https://skmtc.net/deno/apis/jsr.md) · [All operations](https://skmtc.net/deno/apis/jsr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deno/jsr/versions/3d37ac9b68f7/schema)
