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

# Delete scope

`DELETE /scopes/{scope}`

Deletes a scope if the scope has no packages

## Path parameters

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

## Response `204`

OK, no content

## Other responses

- `400` — Invalid request / Scope has packages
- `401` — Unauthorized
- `403` — User is not scope admin
- `404` — Scope not found

---

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